summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/libertas/main.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-09-17 13:11:17 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:51:13 -0700
commit10d024c1b2fd58af8362670d7d6e5ae52fc33353 (patch)
treedbfb03c539986e2c1270385eb0083aaf0dfca8ab /drivers/net/wireless/libertas/main.c
parent596c5c97431eab8465739c169401ea611127b9ad (diff)
[NET]: Nuke SET_MODULE_OWNER macro.
It's been a useless no-op for long enough in 2.6 so I figured it's time to remove it. The number of people that could object because they're maintaining unified 2.4 and 2.6 drivers is probably rather small. [ Handled drivers added by netdev tree and some missed IRDA cases... -DaveM ] Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/libertas/main.c')
-rw-r--r--drivers/net/wireless/libertas/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c
index 3feddcc750ed..cb0359df355e 100644
--- a/drivers/net/wireless/libertas/main.c
+++ b/drivers/net/wireless/libertas/main.c
@@ -1157,8 +1157,6 @@ wlan_private *libertas_add_card(void *card, struct device *dmdev)
priv->infra_open = 0;
priv->hotplug_device = dmdev;
- SET_MODULE_OWNER(dev);
-
/* Setup the OS Interface to our functions */
dev->open = libertas_open;
dev->hard_start_xmit = libertas_pre_start_xmit;
@@ -1340,8 +1338,6 @@ int libertas_add_mesh(wlan_private *priv, struct device *dev)
mesh_dev->priv = priv;
priv->mesh_dev = mesh_dev;
- SET_MODULE_OWNER(mesh_dev);
-
mesh_dev->open = libertas_mesh_open;
mesh_dev->hard_start_xmit = libertas_mesh_pre_start_xmit;
mesh_dev->stop = libertas_mesh_close;