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/tulip | |
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/tulip')
-rw-r--r-- | drivers/net/tulip/de2104x.c | 1 | ||||
-rw-r--r-- | drivers/net/tulip/de4x5.c | 1 | ||||
-rw-r--r-- | drivers/net/tulip/dmfe.c | 1 | ||||
-rw-r--r-- | drivers/net/tulip/tulip_core.c | 1 | ||||
-rw-r--r-- | drivers/net/tulip/uli526x.c | 1 | ||||
-rw-r--r-- | drivers/net/tulip/winbond-840.c | 1 | ||||
-rw-r--r-- | drivers/net/tulip/xircom_cb.c | 1 | ||||
-rw-r--r-- | drivers/net/tulip/xircom_tulip_cb.c | 1 |
8 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/tulip/de2104x.c b/drivers/net/tulip/de2104x.c index d380e0b3f05a..bd04e93908ef 100644 --- a/drivers/net/tulip/de2104x.c +++ b/drivers/net/tulip/de2104x.c | |||
@@ -1944,7 +1944,6 @@ static int __devinit de_init_one (struct pci_dev *pdev, | |||
1944 | if (!dev) | 1944 | if (!dev) |
1945 | return -ENOMEM; | 1945 | return -ENOMEM; |
1946 | 1946 | ||
1947 | SET_MODULE_OWNER(dev); | ||
1948 | SET_NETDEV_DEV(dev, &pdev->dev); | 1947 | SET_NETDEV_DEV(dev, &pdev->dev); |
1949 | dev->open = de_open; | 1948 | dev->open = de_open; |
1950 | dev->stop = de_close; | 1949 | dev->stop = de_close; |
diff --git a/drivers/net/tulip/de4x5.c b/drivers/net/tulip/de4x5.c index 09902891a6e6..ba7f47c2dcff 100644 --- a/drivers/net/tulip/de4x5.c +++ b/drivers/net/tulip/de4x5.c | |||
@@ -1261,7 +1261,6 @@ de4x5_hw_init(struct net_device *dev, u_long iobase, struct device *gendev) | |||
1261 | } | 1261 | } |
1262 | 1262 | ||
1263 | /* The DE4X5-specific entries in the device structure. */ | 1263 | /* The DE4X5-specific entries in the device structure. */ |
1264 | SET_MODULE_OWNER(dev); | ||
1265 | SET_NETDEV_DEV(dev, gendev); | 1264 | SET_NETDEV_DEV(dev, gendev); |
1266 | dev->open = &de4x5_open; | 1265 | dev->open = &de4x5_open; |
1267 | dev->hard_start_xmit = &de4x5_queue_pkt; | 1266 | dev->hard_start_xmit = &de4x5_queue_pkt; |
diff --git a/drivers/net/tulip/dmfe.c b/drivers/net/tulip/dmfe.c index dab74feb44bc..e2596e9ab1d7 100644 --- a/drivers/net/tulip/dmfe.c +++ b/drivers/net/tulip/dmfe.c | |||
@@ -372,7 +372,6 @@ static int __devinit dmfe_init_one (struct pci_dev *pdev, | |||
372 | dev = alloc_etherdev(sizeof(*db)); | 372 | dev = alloc_etherdev(sizeof(*db)); |
373 | if (dev == NULL) | 373 | if (dev == NULL) |
374 | return -ENOMEM; | 374 | return -ENOMEM; |
375 | SET_MODULE_OWNER(dev); | ||
376 | SET_NETDEV_DEV(dev, &pdev->dev); | 375 | SET_NETDEV_DEV(dev, &pdev->dev); |
377 | 376 | ||
378 | if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) { | 377 | if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) { |
diff --git a/drivers/net/tulip/tulip_core.c b/drivers/net/tulip/tulip_core.c index 7040a59fa3c9..66977aaa7176 100644 --- a/drivers/net/tulip/tulip_core.c +++ b/drivers/net/tulip/tulip_core.c | |||
@@ -1345,7 +1345,6 @@ static int __devinit tulip_init_one (struct pci_dev *pdev, | |||
1345 | return -ENOMEM; | 1345 | return -ENOMEM; |
1346 | } | 1346 | } |
1347 | 1347 | ||
1348 | SET_MODULE_OWNER(dev); | ||
1349 | SET_NETDEV_DEV(dev, &pdev->dev); | 1348 | SET_NETDEV_DEV(dev, &pdev->dev); |
1350 | if (pci_resource_len (pdev, 0) < tulip_tbl[chip_idx].io_size) { | 1349 | if (pci_resource_len (pdev, 0) < tulip_tbl[chip_idx].io_size) { |
1351 | printk (KERN_ERR PFX "%s: I/O region (0x%llx@0x%llx) too small, " | 1350 | printk (KERN_ERR PFX "%s: I/O region (0x%llx@0x%llx) too small, " |
diff --git a/drivers/net/tulip/uli526x.c b/drivers/net/tulip/uli526x.c index e26ce44561c4..2b7257d97c32 100644 --- a/drivers/net/tulip/uli526x.c +++ b/drivers/net/tulip/uli526x.c | |||
@@ -268,7 +268,6 @@ static int __devinit uli526x_init_one (struct pci_dev *pdev, | |||
268 | dev = alloc_etherdev(sizeof(*db)); | 268 | dev = alloc_etherdev(sizeof(*db)); |
269 | if (dev == NULL) | 269 | if (dev == NULL) |
270 | return -ENOMEM; | 270 | return -ENOMEM; |
271 | SET_MODULE_OWNER(dev); | ||
272 | SET_NETDEV_DEV(dev, &pdev->dev); | 271 | SET_NETDEV_DEV(dev, &pdev->dev); |
273 | 272 | ||
274 | if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) { | 273 | if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) { |
diff --git a/drivers/net/tulip/winbond-840.c b/drivers/net/tulip/winbond-840.c index 5824f6a35495..396f8455cd32 100644 --- a/drivers/net/tulip/winbond-840.c +++ b/drivers/net/tulip/winbond-840.c | |||
@@ -370,7 +370,6 @@ static int __devinit w840_probe1 (struct pci_dev *pdev, | |||
370 | dev = alloc_etherdev(sizeof(*np)); | 370 | dev = alloc_etherdev(sizeof(*np)); |
371 | if (!dev) | 371 | if (!dev) |
372 | return -ENOMEM; | 372 | return -ENOMEM; |
373 | SET_MODULE_OWNER(dev); | ||
374 | SET_NETDEV_DEV(dev, &pdev->dev); | 373 | SET_NETDEV_DEV(dev, &pdev->dev); |
375 | 374 | ||
376 | if (pci_request_regions(pdev, DRV_NAME)) | 375 | if (pci_request_regions(pdev, DRV_NAME)) |
diff --git a/drivers/net/tulip/xircom_cb.c b/drivers/net/tulip/xircom_cb.c index 4b239dcbef74..de8c92083e92 100644 --- a/drivers/net/tulip/xircom_cb.c +++ b/drivers/net/tulip/xircom_cb.c | |||
@@ -252,7 +252,6 @@ static int __devinit xircom_probe(struct pci_dev *pdev, const struct pci_device_ | |||
252 | goto tx_buf_fail; | 252 | goto tx_buf_fail; |
253 | } | 253 | } |
254 | 254 | ||
255 | SET_MODULE_OWNER(dev); | ||
256 | SET_NETDEV_DEV(dev, &pdev->dev); | 255 | SET_NETDEV_DEV(dev, &pdev->dev); |
257 | 256 | ||
258 | 257 | ||
diff --git a/drivers/net/tulip/xircom_tulip_cb.c b/drivers/net/tulip/xircom_tulip_cb.c index fc439f333350..c3f8e303c6c7 100644 --- a/drivers/net/tulip/xircom_tulip_cb.c +++ b/drivers/net/tulip/xircom_tulip_cb.c | |||
@@ -547,7 +547,6 @@ static int __devinit xircom_init_one(struct pci_dev *pdev, const struct pci_devi | |||
547 | printk (KERN_ERR DRV_NAME "%d: cannot alloc etherdev, aborting\n", board_idx); | 547 | printk (KERN_ERR DRV_NAME "%d: cannot alloc etherdev, aborting\n", board_idx); |
548 | return -ENOMEM; | 548 | return -ENOMEM; |
549 | } | 549 | } |
550 | SET_MODULE_OWNER(dev); | ||
551 | SET_NETDEV_DEV(dev, &pdev->dev); | 550 | SET_NETDEV_DEV(dev, &pdev->dev); |
552 | 551 | ||
553 | dev->base_addr = ioaddr; | 552 | dev->base_addr = ioaddr; |