HID: remove BKL from hiddev_ioctl_usage()
authorJiri Kosina <jkosina@suse.cz>
Thu, 5 Nov 2009 15:01:13 +0000 (16:01 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 5 Nov 2009 17:59:03 +0000 (18:59 +0100)
commit6c857730438cceb56a94ade3029899f52adf3b90
tree20b0bf5803f025a6f6fa826cc14560b174c0ed84
parent80f506918fdaaca6b574ba931536a58ce015c7be
HID: remove BKL from hiddev_ioctl_usage()

The race between ioctl and disconnect is guarded by low level
hiddev device mutex (existancelock) since the commit
07903407 ("HID: hiddev cleanup -- handle all error conditions
properly"), therefore we can remove the lock_kernel() from
hiddev_ioctl_usage().

Acked-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hiddev.c