From: Christoph Hellwig <hch@lst.de>
To: netdev@oss.sgi.com
Subject: [PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in lasi_82596.c
Date: Sun, 22 Feb 2004 19:35:04 +0100 [thread overview]
Message-ID: <20040222183504.GA28040@lst.de> (raw)
--- 1.22/drivers/net/lasi_82596.c Sat Jan 10 16:34:11 2004
+++ edited/drivers/net/lasi_82596.c Sun Feb 22 20:30:38 2004
@@ -1016,8 +1016,6 @@
{
DEB(DEB_OPEN,printk("%s: i596_open() irq %d.\n", dev->name, dev->irq));
- MOD_INC_USE_COUNT;
-
if (request_irq(dev->irq, &i596_interrupt, 0, "i82596", dev)) {
printk("%s: IRQ %d not free\n", dev->name, dev->irq);
goto out;
@@ -1038,8 +1036,6 @@
remove_rx_bufs(dev);
free_irq(dev->irq, dev);
out:
- MOD_DEC_USE_COUNT;
-
return -EAGAIN;
}
next reply other threads:[~2004-02-22 18:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-22 18:35 Christoph Hellwig [this message]
2004-02-23 23:46 ` [PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in lasi_82596.c Jeff Garzik
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=20040222183504.GA28040@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).