projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88af45b
)
HID: remove unused variable from hiddev compat ioctl
author
Jiri Kosina
<jkosina@suse.cz>
Wed, 4 Jun 2008 13:29:42 +0000
(15:29 +0200)
committer
Jiri Kosina
<jkosina@suse.cz>
Wed, 23 Jul 2008 13:21:55 +0000
(15:21 +0200)
Remove unused inode variable from hiddev compat ioctl handler.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hiddev.c
patch
|
blob
|
history
diff --git
a/drivers/hid/usbhid/hiddev.c
b/drivers/hid/usbhid/hiddev.c
index
9c8d156
..
842e9ed
100644
(file)
--- 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