]> git.neil.brown.name Git - history.git/commitdiff
CHAR: Remove unneeded MOD_INC and MOD_DEC calls.
authorGreg Kroah-Hartman <greg@kroah.com>
Mon, 13 Oct 2003 04:32:38 +0000 (21:32 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 13 Oct 2003 04:32:38 +0000 (21:32 -0700)
drivers/char/ite_gpio.c

index f3a6c78bd322e028f9491747918ff84930e320a8..1a4dfef7e46db125f2626306e11bec97ba410b3e 100644 (file)
@@ -242,21 +242,12 @@ static int ite_gpio_open(struct inode *inode, struct file *file)
        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;
 }