Messages in this thread Patch in this message | | | Subject | Re: [PATCH] PCI fixes for 2.6.0-test7 | From | Greg KH <> | Date | Wed, 15 Oct 2003 11:24:50 -0700 |
| |
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; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |