Commit 0fe75b7e authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

CHAR: Remove unneeded MOD_INC and MOD_DEC calls.

parent 7fd37c97
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment