mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-09-22 04:32:41 +00:00
HID: remove unused variable from hiddev compat ioctl
Remove unused inode variable from hiddev compat ioctl handler. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
88af45bafd
commit
00b33277fa
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue