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

[PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in sun3lance

parent bfdc815e
......@@ -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;
}
......
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