summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-10-06 15:03:04 -0400
committerJeff Garzik <jeff@garzik.org>2006-10-06 15:03:04 -0400
commit8f4aff6cb178b0a580ee206e7cca63e2d31f4a4e (patch)
treeccf26a8f693970f939f470ea3500bd585a4a7bb9 /drivers
parentc7bec5aba52392aa8d675b8722735caf4a8b7265 (diff)
downloadkernel-crypto-8f4aff6cb178b0a580ee206e7cca63e2d31f4a4e.tar.gz
kernel-crypto-8f4aff6cb178b0a580ee206e7cca63e2d31f4a4e.tar.xz
kernel-crypto-8f4aff6cb178b0a580ee206e7cca63e2d31f4a4e.zip
drivers/net/eepro: kill dead code
The irq2dev_map has not been used for a long time. Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/eepro.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/net/eepro.c b/drivers/net/eepro.c
index fd6e97891e7..a4eb0dc99ec 100644
--- a/drivers/net/eepro.c
+++ b/drivers/net/eepro.c
@@ -994,16 +994,6 @@ static int eepro_open(struct net_device *dev)
return -EAGAIN;
}
-#ifdef irq2dev_map
- if (((irq2dev_map[dev->irq] != 0)
- || (irq2dev_map[dev->irq] = dev) == 0) &&
- (irq2dev_map[dev->irq]!=dev)) {
- /* printk("%s: IRQ map wrong\n", dev->name); */
- free_irq(dev->irq, dev);
- return -EAGAIN;
- }
-#endif
-
/* Initialize the 82595. */
eepro_sw2bank2(ioaddr); /* be CAREFUL, BANK 2 now */
@@ -1282,10 +1272,6 @@ static int eepro_close(struct net_device *dev)
/* release the interrupt */
free_irq(dev->irq, dev);
-#ifdef irq2dev_map
- irq2dev_map[dev->irq] = 0;
-#endif
-
/* Update the statistics here. What statistics? */
return 0;