Commit eb8ad94e authored by David S. Miller's avatar David S. Miller Committed by David S. Miller

[SPARC64]: Kill unnecessary MOD_{INC,DEC}_USE_COUNT in cpwatchdog and envctrl drivers.

parent 6331310a
......@@ -325,13 +325,11 @@ static int wd_open(struct inode *inode, struct file *f)
wd_dev.initialized = 1;
}
MOD_INC_USE_COUNT;
return(0);
}
static int wd_release(struct inode *inode, struct file *file)
{
MOD_DEC_USE_COUNT;
return 0;
}
......
......@@ -707,7 +707,6 @@ static int
envctrl_open(struct inode *inode, struct file *file)
{
file->private_data = 0;
MOD_INC_USE_COUNT;
return 0;
}
......@@ -717,7 +716,6 @@ envctrl_open(struct inode *inode, struct file *file)
static int
envctrl_release(struct inode *inode, struct file *file)
{
MOD_DEC_USE_COUNT;
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