[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>
Tento commit je obsažen v:
@@ -1944,7 +1944,6 @@ static int __devinit de_init_one (struct pci_dev *pdev,
|
||||
if (!dev)
|
||||
return -ENOMEM;
|
||||
|
||||
SET_MODULE_OWNER(dev);
|
||||
SET_NETDEV_DEV(dev, &pdev->dev);
|
||||
dev->open = de_open;
|
||||
dev->stop = de_close;
|
||||
|
@@ -1261,7 +1261,6 @@ de4x5_hw_init(struct net_device *dev, u_long iobase, struct device *gendev)
|
||||
}
|
||||
|
||||
/* The DE4X5-specific entries in the device structure. */
|
||||
SET_MODULE_OWNER(dev);
|
||||
SET_NETDEV_DEV(dev, gendev);
|
||||
dev->open = &de4x5_open;
|
||||
dev->hard_start_xmit = &de4x5_queue_pkt;
|
||||
|
@@ -372,7 +372,6 @@ static int __devinit dmfe_init_one (struct pci_dev *pdev,
|
||||
dev = alloc_etherdev(sizeof(*db));
|
||||
if (dev == NULL)
|
||||
return -ENOMEM;
|
||||
SET_MODULE_OWNER(dev);
|
||||
SET_NETDEV_DEV(dev, &pdev->dev);
|
||||
|
||||
if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) {
|
||||
|
@@ -1345,7 +1345,6 @@ static int __devinit tulip_init_one (struct pci_dev *pdev,
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
SET_MODULE_OWNER(dev);
|
||||
SET_NETDEV_DEV(dev, &pdev->dev);
|
||||
if (pci_resource_len (pdev, 0) < tulip_tbl[chip_idx].io_size) {
|
||||
printk (KERN_ERR PFX "%s: I/O region (0x%llx@0x%llx) too small, "
|
||||
|
@@ -268,7 +268,6 @@ static int __devinit uli526x_init_one (struct pci_dev *pdev,
|
||||
dev = alloc_etherdev(sizeof(*db));
|
||||
if (dev == NULL)
|
||||
return -ENOMEM;
|
||||
SET_MODULE_OWNER(dev);
|
||||
SET_NETDEV_DEV(dev, &pdev->dev);
|
||||
|
||||
if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) {
|
||||
|
@@ -370,7 +370,6 @@ static int __devinit w840_probe1 (struct pci_dev *pdev,
|
||||
dev = alloc_etherdev(sizeof(*np));
|
||||
if (!dev)
|
||||
return -ENOMEM;
|
||||
SET_MODULE_OWNER(dev);
|
||||
SET_NETDEV_DEV(dev, &pdev->dev);
|
||||
|
||||
if (pci_request_regions(pdev, DRV_NAME))
|
||||
|
@@ -252,7 +252,6 @@ static int __devinit xircom_probe(struct pci_dev *pdev, const struct pci_device_
|
||||
goto tx_buf_fail;
|
||||
}
|
||||
|
||||
SET_MODULE_OWNER(dev);
|
||||
SET_NETDEV_DEV(dev, &pdev->dev);
|
||||
|
||||
|
||||
|
@@ -547,7 +547,6 @@ static int __devinit xircom_init_one(struct pci_dev *pdev, const struct pci_devi
|
||||
printk (KERN_ERR DRV_NAME "%d: cannot alloc etherdev, aborting\n", board_idx);
|
||||
return -ENOMEM;
|
||||
}
|
||||
SET_MODULE_OWNER(dev);
|
||||
SET_NETDEV_DEV(dev, &pdev->dev);
|
||||
|
||||
dev->base_addr = ioaddr;
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele