提交 00b33277 编写于 作者: J Jiri Kosina

HID: remove unused variable from hiddev compat ioctl

Remove unused inode variable from hiddev compat ioctl handler.
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 88af45ba
......@@ -763,7 +763,6 @@ static long hiddev_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
#ifdef CONFIG_COMPAT
static long hiddev_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
{
struct inode *inode = file->f_path.dentry->d_inode;
return hiddev_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
}
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册