Commit 50c1416c authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[PATCH] ne: eliminate unused var. warning

parent e07f4d38
......@@ -165,7 +165,9 @@ static void ne_block_output(struct net_device *dev, const int count,
static int __init do_ne_probe(struct net_device *dev)
{
unsigned int base_addr = dev->base_addr;
int irq = dev->irq;
#ifndef MODULE
int orig_irq = dev->irq;
#endif
SET_MODULE_OWNER(dev);
......@@ -183,7 +185,7 @@ static int __init do_ne_probe(struct net_device *dev)
/* Last resort. The semi-risky ISA auto-probe. */
for (base_addr = 0; netcard_portlist[base_addr] != 0; base_addr++) {
int ioaddr = netcard_portlist[base_addr];
dev->irq = irq;
dev->irq = orig_irq;
if (ne_probe1(dev, ioaddr) == 0)
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment