From: Christoph Hellwig <hch@lst.de>
To: netdev@oss.sgi.com
Subject: [PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in sun3lance
Date: Sun, 22 Feb 2004 19:57:55 +0100 [thread overview]
Message-ID: <20040222185755.GA28350@lst.de> (raw)
--- 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;
}
reply other threads:[~2004-02-22 18:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040222185755.GA28350@lst.de \
--to=hch@lst.de \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).