Skip to contentSkip to conversation

remove useless MOD_{INC,DEC}_USE_COUNT in sun3lance

PATCH New Christoph Hellwig 1 participant 1 message Feb 22, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove useless MOD_{INC,DEC}_USE_COUNT in sun3lance

drivers/net/sun3lance.c +0 -3
@@ -430,7 +430,6 @@
 	netif_start_queue(dev);
 	
 	DPRINTK( 2, ( "%s: LANCE is open, csr0 %04x\n", dev->name, DREG ));
-	MOD_INC_USE_COUNT;
 
 	return( 0 );
 }
@@ -880,8 +879,6 @@
 	/* We stop the LANCE here -- it occasionally polls
 	   memory if we don't. */
 	DREG = CSR0_STOP;
-
-	MOD_DEC_USE_COUNT;
 	return 0;
 }