Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00b33277 authored by Jiri Kosina's avatar Jiri Kosina
Browse files

HID: remove unused variable from hiddev compat ioctl



Remove unused inode variable from hiddev compat ioctl handler.

Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 88af45ba
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -763,7 +763,6 @@ static long hiddev_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
#ifdef CONFIG_COMPAT
#ifdef CONFIG_COMPAT
static long hiddev_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
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));
	return hiddev_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
}
}
#endif
#endif