aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2008-06-04 15:29:42 +0200
committerJiri Kosina <jkosina@suse.cz>2008-07-23 15:21:55 +0200
commit00b33277fa544676250d898fccea0a0255608e7f (patch)
tree9b062c2c6cb229e52f774c39c7b20a67b314eed2
parent88af45bafdda8f892c9d45ce38d55fdf7e734513 (diff)
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>
-rw-r--r--drivers/hid/usbhid/hiddev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hid/usbhid/hiddev.c b/drivers/hid/usbhid/hiddev.c
index 9c8d1563447..842e9edb888 100644
--- a/drivers/hid/usbhid/hiddev.c
+++ b/drivers/hid/usbhid/hiddev.c
@@ -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