aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-09-17 16:11:17 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:51:13 -0400
commit10d024c1b2fd58af8362670d7d6e5ae52fc33353 (patch)
treedbfb03c539986e2c1270385eb0083aaf0dfca8ab /drivers/net/wan
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/wan')
-rw-r--r--drivers/net/wan/c101.c1
-rw-r--r--drivers/net/wan/cycx_x25.c1
-rw-r--r--drivers/net/wan/dscc4.c1
-rw-r--r--drivers/net/wan/hostess_sv11.c2
-rw-r--r--drivers/net/wan/lapbether.c1
-rw-r--r--drivers/net/wan/lmc/lmc_main.c1
-rw-r--r--drivers/net/wan/n2.c1
-rw-r--r--drivers/net/wan/pc300too.c1
-rw-r--r--drivers/net/wan/pci200syn.c1
-rw-r--r--drivers/net/wan/sbni.c2
-rw-r--r--drivers/net/wan/sdla.c1
-rw-r--r--drivers/net/wan/wanxl.c1
12 files changed, 0 insertions, 14 deletions
diff --git a/drivers/net/wan/c101.c b/drivers/net/wan/c101.c
index 8ead774d14c8..c4c8eab8574f 100644
--- a/drivers/net/wan/c101.c
+++ b/drivers/net/wan/c101.c
@@ -363,7 +363,6 @@ static int __init c101_run(unsigned long irq, unsigned long winbase)
363 hdlc = dev_to_hdlc(dev); 363 hdlc = dev_to_hdlc(dev);
364 364
365 spin_lock_init(&card->lock); 365 spin_lock_init(&card->lock);
366 SET_MODULE_OWNER(dev);
367 dev->irq = irq; 366 dev->irq = irq;
368 dev->mem_start = winbase; 367 dev->mem_start = winbase;
369 dev->mem_end = winbase + C101_MAPPED_RAM_SIZE - 1; 368 dev->mem_end = winbase + C101_MAPPED_RAM_SIZE - 1;
diff --git a/drivers/net/wan/cycx_x25.c b/drivers/net/wan/cycx_x25.c
index a8af28b273d3..46e053106d4d 100644
--- a/drivers/net/wan/cycx_x25.c
+++ b/drivers/net/wan/cycx_x25.c
@@ -508,7 +508,6 @@ static int cycx_netdevice_init(struct net_device *dev)
508 508
509 /* Set transmit buffer queue length */ 509 /* Set transmit buffer queue length */
510 dev->tx_queue_len = 10; 510 dev->tx_queue_len = 10;
511 SET_MODULE_OWNER(dev);
512 511
513 /* Initialize socket buffers */ 512 /* Initialize socket buffers */
514 cycx_x25_set_chan_state(dev, WAN_DISCONNECTED); 513 cycx_x25_set_chan_state(dev, WAN_DISCONNECTED);
diff --git a/drivers/net/wan/dscc4.c b/drivers/net/wan/dscc4.c
index 50d2f9108dca..33dc713b5301 100644
--- a/drivers/net/wan/dscc4.c
+++ b/drivers/net/wan/dscc4.c
@@ -925,7 +925,6 @@ static int dscc4_found1(struct pci_dev *pdev, void __iomem *ioaddr)
925 d->do_ioctl = dscc4_ioctl; 925 d->do_ioctl = dscc4_ioctl;
926 d->tx_timeout = dscc4_tx_timeout; 926 d->tx_timeout = dscc4_tx_timeout;
927 d->watchdog_timeo = TX_TIMEOUT; 927 d->watchdog_timeo = TX_TIMEOUT;
928 SET_MODULE_OWNER(d);
929 SET_NETDEV_DEV(d, &pdev->dev); 928 SET_NETDEV_DEV(d, &pdev->dev);
930 929
931 dpriv->dev_id = i; 930 dpriv->dev_id = i;
diff --git a/drivers/net/wan/hostess_sv11.c b/drivers/net/wan/hostess_sv11.c
index bf5f8d9b5c83..83dbc924fcb5 100644
--- a/drivers/net/wan/hostess_sv11.c
+++ b/drivers/net/wan/hostess_sv11.c
@@ -241,8 +241,6 @@ static struct sv11_device *sv11_init(int iobase, int irq)
241 if(!sv->netdev.dev) 241 if(!sv->netdev.dev)
242 goto fail2; 242 goto fail2;
243 243
244 SET_MODULE_OWNER(sv->netdev.dev);
245
246 dev=&sv->sync; 244 dev=&sv->sync;
247 245
248 /* 246 /*
diff --git a/drivers/net/wan/lapbether.c b/drivers/net/wan/lapbether.c
index 699b93406dfb..36e683ccae5e 100644
--- a/drivers/net/wan/lapbether.c
+++ b/drivers/net/wan/lapbether.c
@@ -329,7 +329,6 @@ static void lapbeth_setup(struct net_device *dev)
329 dev->hard_header_len = 3; 329 dev->hard_header_len = 3;
330 dev->mtu = 1000; 330 dev->mtu = 1000;
331 dev->addr_len = 0; 331 dev->addr_len = 0;
332 SET_MODULE_OWNER(dev);
333} 332}
334 333
335/* 334/*
diff --git a/drivers/net/wan/lmc/lmc_main.c b/drivers/net/wan/lmc/lmc_main.c
index ae132c1c5459..5ea877221f46 100644
--- a/drivers/net/wan/lmc/lmc_main.c
+++ b/drivers/net/wan/lmc/lmc_main.c
@@ -883,7 +883,6 @@ static int __devinit lmc_init_one(struct pci_dev *pdev,
883 dev->base_addr = pci_resource_start(pdev, 0); 883 dev->base_addr = pci_resource_start(pdev, 0);
884 dev->irq = pdev->irq; 884 dev->irq = pdev->irq;
885 885
886 SET_MODULE_OWNER(dev);
887 SET_NETDEV_DEV(dev, &pdev->dev); 886 SET_NETDEV_DEV(dev, &pdev->dev);
888 887
889 /* 888 /*
diff --git a/drivers/net/wan/n2.c b/drivers/net/wan/n2.c
index cbdf0b748bde..0a566b0daacb 100644
--- a/drivers/net/wan/n2.c
+++ b/drivers/net/wan/n2.c
@@ -459,7 +459,6 @@ static int __init n2_run(unsigned long io, unsigned long irq,
459 port->log_node = 1; 459 port->log_node = 1;
460 460
461 spin_lock_init(&port->lock); 461 spin_lock_init(&port->lock);
462 SET_MODULE_OWNER(dev);
463 dev->irq = irq; 462 dev->irq = irq;
464 dev->mem_start = winbase; 463 dev->mem_start = winbase;
465 dev->mem_end = winbase + USE_WINDOWSIZE - 1; 464 dev->mem_end = winbase + USE_WINDOWSIZE - 1;
diff --git a/drivers/net/wan/pc300too.c b/drivers/net/wan/pc300too.c
index 6353cb5c658d..bf1b01590429 100644
--- a/drivers/net/wan/pc300too.c
+++ b/drivers/net/wan/pc300too.c
@@ -468,7 +468,6 @@ static int __devinit pc300_pci_init_one(struct pci_dev *pdev,
468 port->phy_node = i; 468 port->phy_node = i;
469 469
470 spin_lock_init(&port->lock); 470 spin_lock_init(&port->lock);
471 SET_MODULE_OWNER(dev);
472 dev->irq = card->irq; 471 dev->irq = card->irq;
473 dev->mem_start = ramphys; 472 dev->mem_start = ramphys;
474 dev->mem_end = ramphys + ramsize - 1; 473 dev->mem_end = ramphys + ramsize - 1;
diff --git a/drivers/net/wan/pci200syn.c b/drivers/net/wan/pci200syn.c
index 092e51d89036..b595b64e7538 100644
--- a/drivers/net/wan/pci200syn.c
+++ b/drivers/net/wan/pci200syn.c
@@ -415,7 +415,6 @@ static int __devinit pci200_pci_init_one(struct pci_dev *pdev,
415 port->phy_node = i; 415 port->phy_node = i;
416 416
417 spin_lock_init(&port->lock); 417 spin_lock_init(&port->lock);
418 SET_MODULE_OWNER(dev);
419 dev->irq = card->irq; 418 dev->irq = card->irq;
420 dev->mem_start = ramphys; 419 dev->mem_start = ramphys;
421 dev->mem_end = ramphys + ramsize - 1; 420 dev->mem_end = ramphys + ramsize - 1;
diff --git a/drivers/net/wan/sbni.c b/drivers/net/wan/sbni.c
index 8d7e01e8f56f..76db40d200d8 100644
--- a/drivers/net/wan/sbni.c
+++ b/drivers/net/wan/sbni.c
@@ -216,8 +216,6 @@ static void __init sbni_devsetup(struct net_device *dev)
216 dev->get_stats = &sbni_get_stats; 216 dev->get_stats = &sbni_get_stats;
217 dev->set_multicast_list = &set_multicast_list; 217 dev->set_multicast_list = &set_multicast_list;
218 dev->do_ioctl = &sbni_ioctl; 218 dev->do_ioctl = &sbni_ioctl;
219
220 SET_MODULE_OWNER( dev );
221} 219}
222 220
223int __init sbni_probe(int unit) 221int __init sbni_probe(int unit)
diff --git a/drivers/net/wan/sdla.c b/drivers/net/wan/sdla.c
index 792e588d7d61..b39a541b2509 100644
--- a/drivers/net/wan/sdla.c
+++ b/drivers/net/wan/sdla.c
@@ -1603,7 +1603,6 @@ static void setup_sdla(struct net_device *dev)
1603 1603
1604 netdev_boot_setup_check(dev); 1604 netdev_boot_setup_check(dev);
1605 1605
1606 SET_MODULE_OWNER(dev);
1607 dev->flags = 0; 1606 dev->flags = 0;
1608 dev->type = 0xFFFF; 1607 dev->type = 0xFFFF;
1609 dev->hard_header_len = 0; 1608 dev->hard_header_len = 0;
diff --git a/drivers/net/wan/wanxl.c b/drivers/net/wan/wanxl.c
index 3c78f9856380..8e320b76ae0e 100644
--- a/drivers/net/wan/wanxl.c
+++ b/drivers/net/wan/wanxl.c
@@ -779,7 +779,6 @@ static int __devinit wanxl_pci_init_one(struct pci_dev *pdev,
779 port->dev = dev; 779 port->dev = dev;
780 hdlc = dev_to_hdlc(dev); 780 hdlc = dev_to_hdlc(dev);
781 spin_lock_init(&port->lock); 781 spin_lock_init(&port->lock);
782 SET_MODULE_OWNER(dev);
783 dev->tx_queue_len = 50; 782 dev->tx_queue_len = 50;
784 dev->do_ioctl = wanxl_ioctl; 783 dev->do_ioctl = wanxl_ioctl;
785 dev->open = wanxl_open; 784 dev->open = wanxl_open;