From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] PCI fixes for 2.6.0-test7
Date: Wed, 15 Oct 2003 11:24:50 -0700 [thread overview]
Message-ID: <1066242290297@kroah.com> (raw)
In-Reply-To: <10662422904150@kroah.com>
ChangeSet 1.1347.1.4, 2003/10/13 11:32:38-07:00, greg@kroah.com
CHAR: Remove unneeded MOD_INC and MOD_DEC calls.
drivers/char/ite_gpio.c | 9 ---------
1 files changed, 9 deletions(-)
diff -Nru a/drivers/char/ite_gpio.c b/drivers/char/ite_gpio.c
--- a/drivers/char/ite_gpio.c Wed Oct 15 11:18:36 2003
+++ b/drivers/char/ite_gpio.c Wed Oct 15 11:18:36 2003
@@ -242,21 +242,12 @@
if (minor != GPIO_MINOR)
return -ENODEV;
-#ifdef MODULE
- MOD_INC_USE_COUNT;
-#endif
-
return 0;
}
static int ite_gpio_release(struct inode *inode, struct file *file)
{
-
-#ifdef MODULE
- MOD_DEC_USE_COUNT;
-#endif
-
return 0;
}
next prev parent reply other threads:[~2003-10-15 18:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-15 18:23 [BK PATCH] PCI fixes for 2.6.0-test7 Greg KH
2003-10-15 18:24 ` [PATCH] " Greg KH
2003-10-15 18:24 ` Greg KH
2003-10-15 18:24 ` Greg KH
2003-10-15 18:24 ` Greg KH [this message]
2003-10-15 18:24 ` Greg KH
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=1066242290297@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
/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