Commit bfdc815e authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Christoph Hellwig

[PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in lasi_82596.c

parent 05e7f554
...@@ -1016,8 +1016,6 @@ static int i596_open(struct net_device *dev) ...@@ -1016,8 +1016,6 @@ static int i596_open(struct net_device *dev)
{ {
DEB(DEB_OPEN,printk("%s: i596_open() irq %d.\n", dev->name, dev->irq)); DEB(DEB_OPEN,printk("%s: i596_open() irq %d.\n", dev->name, dev->irq));
MOD_INC_USE_COUNT;
if (request_irq(dev->irq, &i596_interrupt, 0, "i82596", dev)) { if (request_irq(dev->irq, &i596_interrupt, 0, "i82596", dev)) {
printk("%s: IRQ %d not free\n", dev->name, dev->irq); printk("%s: IRQ %d not free\n", dev->name, dev->irq);
goto out; goto out;
...@@ -1038,8 +1036,6 @@ static int i596_open(struct net_device *dev) ...@@ -1038,8 +1036,6 @@ static int i596_open(struct net_device *dev)
remove_rx_bufs(dev); remove_rx_bufs(dev);
free_irq(dev->irq, dev); free_irq(dev->irq, dev);
out: out:
MOD_DEC_USE_COUNT;
return -EAGAIN; return -EAGAIN;
} }
......
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