diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-09-17 16:11:17 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:51:13 -0400 |
commit | 10d024c1b2fd58af8362670d7d6e5ae52fc33353 (patch) | |
tree | dbfb03c539986e2c1270385eb0083aaf0dfca8ab /drivers/net/wireless/libertas | |
parent | 596c5c97431eab8465739c169401ea611127b9ad (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')
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 4 |
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) | |||
1157 | priv->infra_open = 0; | 1157 | priv->infra_open = 0; |
1158 | priv->hotplug_device = dmdev; | 1158 | priv->hotplug_device = dmdev; |
1159 | 1159 | ||
1160 | SET_MODULE_OWNER(dev); | ||
1161 | |||
1162 | /* Setup the OS Interface to our functions */ | 1160 | /* Setup the OS Interface to our functions */ |
1163 | dev->open = libertas_open; | 1161 | dev->open = libertas_open; |
1164 | dev->hard_start_xmit = libertas_pre_start_xmit; | 1162 | dev->hard_start_xmit = libertas_pre_start_xmit; |
@@ -1340,8 +1338,6 @@ int libertas_add_mesh(wlan_private *priv, struct device *dev) | |||
1340 | mesh_dev->priv = priv; | 1338 | mesh_dev->priv = priv; |
1341 | priv->mesh_dev = mesh_dev; | 1339 | priv->mesh_dev = mesh_dev; |
1342 | 1340 | ||
1343 | SET_MODULE_OWNER(mesh_dev); | ||
1344 | |||
1345 | mesh_dev->open = libertas_mesh_open; | 1341 | mesh_dev->open = libertas_mesh_open; |
1346 | mesh_dev->hard_start_xmit = libertas_mesh_pre_start_xmit; | 1342 | mesh_dev->hard_start_xmit = libertas_mesh_pre_start_xmit; |
1347 | mesh_dev->stop = libertas_mesh_close; | 1343 | mesh_dev->stop = libertas_mesh_close; |