diff options
Diffstat (limited to 'drivers/net/eepro.c')
-rw-r--r-- | drivers/net/eepro.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/net/eepro.c b/drivers/net/eepro.c index fd6e97891e73..a4eb0dc99ecf 100644 --- a/drivers/net/eepro.c +++ b/drivers/net/eepro.c | |||
@@ -994,16 +994,6 @@ static int eepro_open(struct net_device *dev) | |||
994 | return -EAGAIN; | 994 | return -EAGAIN; |
995 | } | 995 | } |
996 | 996 | ||
997 | #ifdef irq2dev_map | ||
998 | if (((irq2dev_map[dev->irq] != 0) | ||
999 | || (irq2dev_map[dev->irq] = dev) == 0) && | ||
1000 | (irq2dev_map[dev->irq]!=dev)) { | ||
1001 | /* printk("%s: IRQ map wrong\n", dev->name); */ | ||
1002 | free_irq(dev->irq, dev); | ||
1003 | return -EAGAIN; | ||
1004 | } | ||
1005 | #endif | ||
1006 | |||
1007 | /* Initialize the 82595. */ | 997 | /* Initialize the 82595. */ |
1008 | 998 | ||
1009 | eepro_sw2bank2(ioaddr); /* be CAREFUL, BANK 2 now */ | 999 | eepro_sw2bank2(ioaddr); /* be CAREFUL, BANK 2 now */ |
@@ -1282,10 +1272,6 @@ static int eepro_close(struct net_device *dev) | |||
1282 | /* release the interrupt */ | 1272 | /* release the interrupt */ |
1283 | free_irq(dev->irq, dev); | 1273 | free_irq(dev->irq, dev); |
1284 | 1274 | ||
1285 | #ifdef irq2dev_map | ||
1286 | irq2dev_map[dev->irq] = 0; | ||
1287 | #endif | ||
1288 | |||
1289 | /* Update the statistics here. What statistics? */ | 1275 | /* Update the statistics here. What statistics? */ |
1290 | 1276 | ||
1291 | return 0; | 1277 | return 0; |