[PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in sun3lance From: Christoph Hellwig <hch@lst.de> Date: 2004-02-22 18:57:55 --- 1.17/drivers/net/sun3lance.c Sat Jan 10 16:37:56 2004 +++ edited/drivers/net/sun3lance.c Sun Feb 22 20:31:10 2004@@ -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; }
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help