HID: hidraw -- fix missing unlocks in unlocked_ioctl
authorDan Carpenter <error27@gmail.com>
Tue, 7 Apr 2009 14:35:56 +0000 (16:35 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 7 Apr 2009 14:35:56 +0000 (16:35 +0200)
commit38089c658bf372adc2bd7b3597fceac0c7cecca6
tree5405426d82594bc2424d1036996bc1da0d1aade4
parent0221c81b1b8eb0cbb6b30a0ced52ead32d2b4e4c
HID: hidraw -- fix missing unlocks in unlocked_ioctl

There were 2 places that returned directly instead of releasing their
locks.  I sent a fix for this file earlier but ended up missing these
spots.  I think what happened is that I have improved my checker script
since then...  Or maybe I just screwed up.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hidraw.c