]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in lasi_82596.c
authorChristoph Hellwig <hch@lst.de>
Wed, 25 Feb 2004 19:37:20 +0000 (14:37 -0500)
committerChristoph Hellwig <hch@sgi.com>
Wed, 25 Feb 2004 19:37:20 +0000 (14:37 -0500)
drivers/net/lasi_82596.c

index b2cbf973918dadaac71a48c75f7867100e57399d..eaac53958f2c4d0bbc626d4067510d63a3ef6854 100644 (file)
@@ -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));
 
-       MOD_INC_USE_COUNT;
-
        if (request_irq(dev->irq, &i596_interrupt, 0, "i82596", dev)) {
                printk("%s: IRQ %d not free\n", dev->name, dev->irq);
                goto out;
@@ -1038,8 +1036,6 @@ out_remove_rx_bufs:
        remove_rx_bufs(dev);
        free_irq(dev->irq, dev);
 out:
-       MOD_DEC_USE_COUNT;
-
        return -EAGAIN;
 }