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

index 461d4e6072f36d19fcff2adfc05fbaed21d33219..bbb62e7a4be76a7d87a322599f82c97ae71175e8 100644 (file)
@@ -430,7 +430,6 @@ static int lance_open( struct net_device *dev )
        netif_start_queue(dev);
        
        DPRINTK( 2, ( "%s: LANCE is open, csr0 %04x\n", dev->name, DREG ));
-       MOD_INC_USE_COUNT;
 
        return( 0 );
 }
@@ -883,8 +882,6 @@ static int lance_close( struct net_device *dev )
        /* We stop the LANCE here -- it occasionally polls
           memory if we don't. */
        DREG = CSR0_STOP;
-
-       MOD_DEC_USE_COUNT;
        return 0;
 }