Commit f2145f8
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>1 parent efd8929 commit f2145f8
1 file changed
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2303 | 2303 | | |
2304 | 2304 | | |
2305 | 2305 | | |
2306 | | - | |
2307 | 2306 | | |
2308 | | - | |
2309 | | - | |
2310 | | - | |
2311 | | - | |
| 2307 | + | |
2312 | 2308 | | |
2313 | 2309 | | |
2314 | 2310 | | |
| |||
2323 | 2319 | | |
2324 | 2320 | | |
2325 | 2321 | | |
2326 | | - | |
2327 | | - | |
| 2322 | + | |
| 2323 | + | |
2328 | 2324 | | |
2329 | 2325 | | |
2330 | 2326 | | |
| |||
0 commit comments