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 | |
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')
-rw-r--r-- | drivers/net/wireless/airo.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/airport.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/arlan-main.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/atmel.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx_main.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/ipw2100.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ipw2200.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/netwave_cs.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/orinoco_cs.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/orinoco_nortel.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/orinoco_pci.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/orinoco_plx.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/orinoco_tmd.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/prism54/islpci_dev.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/ray_cs.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/spectrum_cs.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/strip.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/wavelan.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/wavelan_cs.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/wl3501_cs.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/zd1211rw/zd_netdev.c | 1 |
22 files changed, 0 insertions, 29 deletions
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index a152797b951a..80ae75999536 100644 --- a/drivers/net/wireless/airo.c +++ b/drivers/net/wireless/airo.c | |||
@@ -2870,7 +2870,6 @@ static struct net_device *_init_airo_card( unsigned short irq, int port, | |||
2870 | dev->base_addr = port; | 2870 | dev->base_addr = port; |
2871 | 2871 | ||
2872 | SET_NETDEV_DEV(dev, dmdev); | 2872 | SET_NETDEV_DEV(dev, dmdev); |
2873 | SET_MODULE_OWNER(dev); | ||
2874 | 2873 | ||
2875 | reset_card (dev, 1); | 2874 | reset_card (dev, 1); |
2876 | msleep(400); | 2875 | msleep(400); |
diff --git a/drivers/net/wireless/airport.c b/drivers/net/wireless/airport.c index 7d5b8c2cc614..6f7eb9f59223 100644 --- a/drivers/net/wireless/airport.c +++ b/drivers/net/wireless/airport.c | |||
@@ -197,7 +197,6 @@ airport_attach(struct macio_dev *mdev, const struct of_device_id *match) | |||
197 | return -EBUSY; | 197 | return -EBUSY; |
198 | } | 198 | } |
199 | 199 | ||
200 | SET_MODULE_OWNER(dev); | ||
201 | SET_NETDEV_DEV(dev, &mdev->ofdev.dev); | 200 | SET_NETDEV_DEV(dev, &mdev->ofdev.dev); |
202 | 201 | ||
203 | macio_set_drvdata(mdev, dev); | 202 | macio_set_drvdata(mdev, dev); |
diff --git a/drivers/net/wireless/arlan-main.c b/drivers/net/wireless/arlan-main.c index 498e8486d125..3eaaab0ba0cc 100644 --- a/drivers/net/wireless/arlan-main.c +++ b/drivers/net/wireless/arlan-main.c | |||
@@ -1792,8 +1792,6 @@ struct net_device * __init arlan_probe(int unit) | |||
1792 | if (!dev) | 1792 | if (!dev) |
1793 | return ERR_PTR(-ENOMEM); | 1793 | return ERR_PTR(-ENOMEM); |
1794 | 1794 | ||
1795 | SET_MODULE_OWNER(dev); | ||
1796 | |||
1797 | if (unit >= 0) { | 1795 | if (unit >= 0) { |
1798 | sprintf(dev->name, "eth%d", unit); | 1796 | sprintf(dev->name, "eth%d", unit); |
1799 | netdev_boot_setup_check(dev); | 1797 | netdev_boot_setup_check(dev); |
diff --git a/drivers/net/wireless/atmel.c b/drivers/net/wireless/atmel.c index 51a7db53afa5..47dbdf95ea6f 100644 --- a/drivers/net/wireless/atmel.c +++ b/drivers/net/wireless/atmel.c | |||
@@ -1603,7 +1603,6 @@ struct net_device *init_atmel_card(unsigned short irq, unsigned long port, | |||
1603 | dev->dev_addr[0], dev->dev_addr[1], dev->dev_addr[2], | 1603 | dev->dev_addr[0], dev->dev_addr[1], dev->dev_addr[2], |
1604 | dev->dev_addr[3], dev->dev_addr[4], dev->dev_addr[5] ); | 1604 | dev->dev_addr[3], dev->dev_addr[4], dev->dev_addr[5] ); |
1605 | 1605 | ||
1606 | SET_MODULE_OWNER(dev); | ||
1607 | return dev; | 1606 | return dev; |
1608 | 1607 | ||
1609 | err_out_res: | 1608 | err_out_res: |
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_main.c b/drivers/net/wireless/bcm43xx/bcm43xx_main.c index dfbd01eaaf34..e038d072398d 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx_main.c +++ b/drivers/net/wireless/bcm43xx/bcm43xx_main.c | |||
@@ -4092,7 +4092,6 @@ static int __devinit bcm43xx_init_one(struct pci_dev *pdev, | |||
4092 | goto out; | 4092 | goto out; |
4093 | } | 4093 | } |
4094 | /* initialize the net_device struct */ | 4094 | /* initialize the net_device struct */ |
4095 | SET_MODULE_OWNER(net_dev); | ||
4096 | SET_NETDEV_DEV(net_dev, &pdev->dev); | 4095 | SET_NETDEV_DEV(net_dev, &pdev->dev); |
4097 | 4096 | ||
4098 | net_dev->open = bcm43xx_net_open; | 4097 | net_dev->open = bcm43xx_net_open; |
diff --git a/drivers/net/wireless/ipw2100.c b/drivers/net/wireless/ipw2100.c index 8990585bd228..12a6887cb9f1 100644 --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c | |||
@@ -6239,8 +6239,6 @@ static int ipw2100_pci_init_one(struct pci_dev *pci_dev, | |||
6239 | 6239 | ||
6240 | IPW_DEBUG_INFO("Attempting to register device...\n"); | 6240 | IPW_DEBUG_INFO("Attempting to register device...\n"); |
6241 | 6241 | ||
6242 | SET_MODULE_OWNER(dev); | ||
6243 | |||
6244 | printk(KERN_INFO DRV_NAME | 6242 | printk(KERN_INFO DRV_NAME |
6245 | ": Detected Intel PRO/Wireless 2100 Network Connection\n"); | 6243 | ": Detected Intel PRO/Wireless 2100 Network Connection\n"); |
6246 | 6244 | ||
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 61497c467467..afad8bb7e334 100644 --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c | |||
@@ -11625,7 +11625,6 @@ static int ipw_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
11625 | goto out_destroy_workqueue; | 11625 | goto out_destroy_workqueue; |
11626 | } | 11626 | } |
11627 | 11627 | ||
11628 | SET_MODULE_OWNER(net_dev); | ||
11629 | SET_NETDEV_DEV(net_dev, &pdev->dev); | 11628 | SET_NETDEV_DEV(net_dev, &pdev->dev); |
11630 | 11629 | ||
11631 | mutex_lock(&priv->mutex); | 11630 | mutex_lock(&priv->mutex); |
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; |
diff --git a/drivers/net/wireless/netwave_cs.c b/drivers/net/wireless/netwave_cs.c index 45b00e13ab2b..389fdd313c7e 100644 --- a/drivers/net/wireless/netwave_cs.c +++ b/drivers/net/wireless/netwave_cs.c | |||
@@ -412,7 +412,6 @@ static int netwave_probe(struct pcmcia_device *link) | |||
412 | spin_lock_init(&priv->spinlock); | 412 | spin_lock_init(&priv->spinlock); |
413 | 413 | ||
414 | /* Netwave specific entries in the device structure */ | 414 | /* Netwave specific entries in the device structure */ |
415 | SET_MODULE_OWNER(dev); | ||
416 | dev->hard_start_xmit = &netwave_start_xmit; | 415 | dev->hard_start_xmit = &netwave_start_xmit; |
417 | dev->get_stats = &netwave_get_stats; | 416 | dev->get_stats = &netwave_get_stats; |
418 | dev->set_multicast_list = &set_multicast_list; | 417 | dev->set_multicast_list = &set_multicast_list; |
diff --git a/drivers/net/wireless/orinoco_cs.c b/drivers/net/wireless/orinoco_cs.c index d1e502236b2a..8b7f5768a103 100644 --- a/drivers/net/wireless/orinoco_cs.c +++ b/drivers/net/wireless/orinoco_cs.c | |||
@@ -313,7 +313,6 @@ orinoco_cs_config(struct pcmcia_device *link) | |||
313 | /* Ok, we have the configuration, prepare to register the netdev */ | 313 | /* Ok, we have the configuration, prepare to register the netdev */ |
314 | dev->base_addr = link->io.BasePort1; | 314 | dev->base_addr = link->io.BasePort1; |
315 | dev->irq = link->irq.AssignedIRQ; | 315 | dev->irq = link->irq.AssignedIRQ; |
316 | SET_MODULE_OWNER(dev); | ||
317 | card->node.major = card->node.minor = 0; | 316 | card->node.major = card->node.minor = 0; |
318 | 317 | ||
319 | SET_NETDEV_DEV(dev, &handle_to_dev(link)); | 318 | SET_NETDEV_DEV(dev, &handle_to_dev(link)); |
diff --git a/drivers/net/wireless/orinoco_nortel.c b/drivers/net/wireless/orinoco_nortel.c index eaf3d13b851c..35ec5fcf81a6 100644 --- a/drivers/net/wireless/orinoco_nortel.c +++ b/drivers/net/wireless/orinoco_nortel.c | |||
@@ -193,7 +193,6 @@ static int orinoco_nortel_init_one(struct pci_dev *pdev, | |||
193 | card = priv->card; | 193 | card = priv->card; |
194 | card->bridge_io = bridge_io; | 194 | card->bridge_io = bridge_io; |
195 | card->attr_io = attr_io; | 195 | card->attr_io = attr_io; |
196 | SET_MODULE_OWNER(dev); | ||
197 | SET_NETDEV_DEV(dev, &pdev->dev); | 196 | SET_NETDEV_DEV(dev, &pdev->dev); |
198 | 197 | ||
199 | hermes_struct_init(&priv->hw, hermes_io, HERMES_16BIT_REGSPACING); | 198 | hermes_struct_init(&priv->hw, hermes_io, HERMES_16BIT_REGSPACING); |
diff --git a/drivers/net/wireless/orinoco_pci.c b/drivers/net/wireless/orinoco_pci.c index 97a8b4ff32bd..2547d5dac0d3 100644 --- a/drivers/net/wireless/orinoco_pci.c +++ b/drivers/net/wireless/orinoco_pci.c | |||
@@ -148,7 +148,6 @@ static int orinoco_pci_init_one(struct pci_dev *pdev, | |||
148 | 148 | ||
149 | priv = netdev_priv(dev); | 149 | priv = netdev_priv(dev); |
150 | card = priv->card; | 150 | card = priv->card; |
151 | SET_MODULE_OWNER(dev); | ||
152 | SET_NETDEV_DEV(dev, &pdev->dev); | 151 | SET_NETDEV_DEV(dev, &pdev->dev); |
153 | 152 | ||
154 | hermes_struct_init(&priv->hw, hermes_io, HERMES_32BIT_REGSPACING); | 153 | hermes_struct_init(&priv->hw, hermes_io, HERMES_32BIT_REGSPACING); |
diff --git a/drivers/net/wireless/orinoco_plx.c b/drivers/net/wireless/orinoco_plx.c index 31162ac25a92..98fe165337d1 100644 --- a/drivers/net/wireless/orinoco_plx.c +++ b/drivers/net/wireless/orinoco_plx.c | |||
@@ -232,7 +232,6 @@ static int orinoco_plx_init_one(struct pci_dev *pdev, | |||
232 | card = priv->card; | 232 | card = priv->card; |
233 | card->bridge_io = bridge_io; | 233 | card->bridge_io = bridge_io; |
234 | card->attr_io = attr_io; | 234 | card->attr_io = attr_io; |
235 | SET_MODULE_OWNER(dev); | ||
236 | SET_NETDEV_DEV(dev, &pdev->dev); | 235 | SET_NETDEV_DEV(dev, &pdev->dev); |
237 | 236 | ||
238 | hermes_struct_init(&priv->hw, hermes_io, HERMES_16BIT_REGSPACING); | 237 | hermes_struct_init(&priv->hw, hermes_io, HERMES_16BIT_REGSPACING); |
diff --git a/drivers/net/wireless/orinoco_tmd.c b/drivers/net/wireless/orinoco_tmd.c index b9c54d8fceb9..df493185a4af 100644 --- a/drivers/net/wireless/orinoco_tmd.c +++ b/drivers/net/wireless/orinoco_tmd.c | |||
@@ -134,7 +134,6 @@ static int orinoco_tmd_init_one(struct pci_dev *pdev, | |||
134 | priv = netdev_priv(dev); | 134 | priv = netdev_priv(dev); |
135 | card = priv->card; | 135 | card = priv->card; |
136 | card->bridge_io = bridge_io; | 136 | card->bridge_io = bridge_io; |
137 | SET_MODULE_OWNER(dev); | ||
138 | SET_NETDEV_DEV(dev, &pdev->dev); | 137 | SET_NETDEV_DEV(dev, &pdev->dev); |
139 | 138 | ||
140 | hermes_struct_init(&priv->hw, hermes_io, HERMES_16BIT_REGSPACING); | 139 | hermes_struct_init(&priv->hw, hermes_io, HERMES_16BIT_REGSPACING); |
diff --git a/drivers/net/wireless/prism54/islpci_dev.c b/drivers/net/wireless/prism54/islpci_dev.c index 084795355b74..219dd651dc41 100644 --- a/drivers/net/wireless/prism54/islpci_dev.c +++ b/drivers/net/wireless/prism54/islpci_dev.c | |||
@@ -808,7 +808,6 @@ islpci_setup(struct pci_dev *pdev) | |||
808 | if (!ndev) | 808 | if (!ndev) |
809 | return ndev; | 809 | return ndev; |
810 | 810 | ||
811 | SET_MODULE_OWNER(ndev); | ||
812 | pci_set_drvdata(pdev, ndev); | 811 | pci_set_drvdata(pdev, ndev); |
813 | #if defined(SET_NETDEV_DEV) | 812 | #if defined(SET_NETDEV_DEV) |
814 | SET_NETDEV_DEV(ndev, &pdev->dev); | 813 | SET_NETDEV_DEV(ndev, &pdev->dev); |
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c index 1d9dbf830015..1b0e9707049a 100644 --- a/drivers/net/wireless/ray_cs.c +++ b/drivers/net/wireless/ray_cs.c | |||
@@ -356,7 +356,6 @@ static int ray_probe(struct pcmcia_device *p_dev) | |||
356 | dev->set_multicast_list = &set_multicast_list; | 356 | dev->set_multicast_list = &set_multicast_list; |
357 | 357 | ||
358 | DEBUG(2,"ray_cs ray_attach calling ether_setup.)\n"); | 358 | DEBUG(2,"ray_cs ray_attach calling ether_setup.)\n"); |
359 | SET_MODULE_OWNER(dev); | ||
360 | dev->init = &ray_dev_init; | 359 | dev->init = &ray_dev_init; |
361 | dev->open = &ray_open; | 360 | dev->open = &ray_open; |
362 | dev->stop = &ray_dev_close; | 361 | dev->stop = &ray_dev_close; |
diff --git a/drivers/net/wireless/spectrum_cs.c b/drivers/net/wireless/spectrum_cs.c index af70460f008a..98df9bc7836a 100644 --- a/drivers/net/wireless/spectrum_cs.c +++ b/drivers/net/wireless/spectrum_cs.c | |||
@@ -782,7 +782,6 @@ spectrum_cs_config(struct pcmcia_device *link) | |||
782 | /* Ok, we have the configuration, prepare to register the netdev */ | 782 | /* Ok, we have the configuration, prepare to register the netdev */ |
783 | dev->base_addr = link->io.BasePort1; | 783 | dev->base_addr = link->io.BasePort1; |
784 | dev->irq = link->irq.AssignedIRQ; | 784 | dev->irq = link->irq.AssignedIRQ; |
785 | SET_MODULE_OWNER(dev); | ||
786 | card->node.major = card->node.minor = 0; | 785 | card->node.major = card->node.minor = 0; |
787 | 786 | ||
788 | /* Reset card and download firmware */ | 787 | /* Reset card and download firmware */ |
diff --git a/drivers/net/wireless/strip.c b/drivers/net/wireless/strip.c index c49d5a1f94a2..404cd1512312 100644 --- a/drivers/net/wireless/strip.c +++ b/drivers/net/wireless/strip.c | |||
@@ -2508,8 +2508,6 @@ static void strip_dev_setup(struct net_device *dev) | |||
2508 | * Finish setting up the DEVICE info. | 2508 | * Finish setting up the DEVICE info. |
2509 | */ | 2509 | */ |
2510 | 2510 | ||
2511 | SET_MODULE_OWNER(dev); | ||
2512 | |||
2513 | dev->trans_start = 0; | 2511 | dev->trans_start = 0; |
2514 | dev->last_rx = 0; | 2512 | dev->last_rx = 0; |
2515 | dev->tx_queue_len = 30; /* Drop after 30 frames queued */ | 2513 | dev->tx_queue_len = 30; /* Drop after 30 frames queued */ |
diff --git a/drivers/net/wireless/wavelan.c b/drivers/net/wireless/wavelan.c index 1cf090d60edc..b876bf65935b 100644 --- a/drivers/net/wireless/wavelan.c +++ b/drivers/net/wireless/wavelan.c | |||
@@ -4177,7 +4177,6 @@ static int __init wavelan_config(struct net_device *dev, unsigned short ioaddr) | |||
4177 | /* Init spinlock */ | 4177 | /* Init spinlock */ |
4178 | spin_lock_init(&lp->spinlock); | 4178 | spin_lock_init(&lp->spinlock); |
4179 | 4179 | ||
4180 | SET_MODULE_OWNER(dev); | ||
4181 | dev->open = wavelan_open; | 4180 | dev->open = wavelan_open; |
4182 | dev->stop = wavelan_close; | 4181 | dev->stop = wavelan_close; |
4183 | dev->hard_start_xmit = wavelan_packet_xmit; | 4182 | dev->hard_start_xmit = wavelan_packet_xmit; |
diff --git a/drivers/net/wireless/wavelan_cs.c b/drivers/net/wireless/wavelan_cs.c index 5740d4d4267c..1cc5180ab1e7 100644 --- a/drivers/net/wireless/wavelan_cs.c +++ b/drivers/net/wireless/wavelan_cs.c | |||
@@ -4577,7 +4577,6 @@ wavelan_probe(struct pcmcia_device *p_dev) | |||
4577 | lp->dev = dev; | 4577 | lp->dev = dev; |
4578 | 4578 | ||
4579 | /* wavelan NET3 callbacks */ | 4579 | /* wavelan NET3 callbacks */ |
4580 | SET_MODULE_OWNER(dev); | ||
4581 | dev->open = &wavelan_open; | 4580 | dev->open = &wavelan_open; |
4582 | dev->stop = &wavelan_close; | 4581 | dev->stop = &wavelan_close; |
4583 | dev->hard_start_xmit = &wavelan_packet_xmit; | 4582 | dev->hard_start_xmit = &wavelan_packet_xmit; |
diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c index 732b59f19892..cfde68cff94c 100644 --- a/drivers/net/wireless/wl3501_cs.c +++ b/drivers/net/wireless/wl3501_cs.c | |||
@@ -2003,8 +2003,6 @@ static int wl3501_config(struct pcmcia_device *link) | |||
2003 | goto failed; | 2003 | goto failed; |
2004 | } | 2004 | } |
2005 | 2005 | ||
2006 | SET_MODULE_OWNER(dev); | ||
2007 | |||
2008 | this = netdev_priv(dev); | 2006 | this = netdev_priv(dev); |
2009 | /* | 2007 | /* |
2010 | * At this point, the dev_node_t structure(s) should be initialized and | 2008 | * At this point, the dev_node_t structure(s) should be initialized and |
diff --git a/drivers/net/wireless/zd1211rw/zd_netdev.c b/drivers/net/wireless/zd1211rw/zd_netdev.c index 8bda48de31ef..047cab3d87df 100644 --- a/drivers/net/wireless/zd1211rw/zd_netdev.c +++ b/drivers/net/wireless/zd1211rw/zd_netdev.c | |||
@@ -233,7 +233,6 @@ struct net_device *zd_netdev_alloc(struct usb_interface *intf) | |||
233 | return NULL; | 233 | return NULL; |
234 | } | 234 | } |
235 | 235 | ||
236 | SET_MODULE_OWNER(netdev); | ||
237 | SET_NETDEV_DEV(netdev, &intf->dev); | 236 | SET_NETDEV_DEV(netdev, &intf->dev); |
238 | 237 | ||
239 | dev_dbg_f(&intf->dev, "netdev->flags %#06hx\n", netdev->flags); | 238 | dev_dbg_f(&intf->dev, "netdev->flags %#06hx\n", netdev->flags); |