* [PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in sun3lance
@ 2004-02-22 18:57 Christoph Hellwig
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2004-02-22 18:57 UTC (permalink / raw)
To: netdev
--- 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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-02-22 18:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-22 18:57 [PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in sun3lance Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).