HID: do not use down_interruptible() when unbinding devices
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 20 Mar 2021 00:27:16 +0000 (17:27 -0700)
committerJiri Kosina <jkosina@suse.cz>
Wed, 5 May 2021 12:24:56 +0000 (14:24 +0200)
commitf2145f8dc566c4f3b5a8deb58dcd12bed4e20194
tree46c430e4c0817d305b26ef1c9526eab79228e606
parentefd8929b9eec1cde120abb36d76dd00ff6711023
HID: do not use down_interruptible() when unbinding devices

Action of unbinding driver from a device is not cancellable and should not
fail, and driver core does not pay attention to the result of "remove"
method, therefore using down_interruptible() in hid_device_remove() does
not make sense.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c