Skip to content

Commit

Permalink
HID: remove unused variable from hiddev compat ioctl
Browse files Browse the repository at this point in the history
Remove unused inode variable from hiddev compat ioctl handler.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Jiri Kosina committed Jul 23, 2008
1 parent 88af45b commit 00b3327
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/hid/usbhid/hiddev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 00b3327

Please sign in to comment.