diff options
author | Jiri Kosina <jkosina@suse.cz> | 2015-10-25 23:06:29 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-01 17:26:33 -0500 |
commit | ced08b020e6ce0fa693e4d1d8c6088dbc0a36c64 (patch) | |
tree | 30e16047ad3fe9ab968d6c40dc32eef97eede443 /drivers/uwb | |
parent | d5ddcdf4d672fddeb947ab144eb355c917b431c3 (diff) |
uwb: uwbd() is not freezable kthread
uwbd() calls try_to_freeze(), but the thread doesn't mark itself freezable
through set_freezable(), so the try_to_freeze() call is useless.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uwb')
-rw-r--r-- | drivers/uwb/uwbd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/uwb/uwbd.c b/drivers/uwb/uwbd.c index bdcb13cc1d54..01c20a260a8b 100644 --- a/drivers/uwb/uwbd.c +++ b/drivers/uwb/uwbd.c | |||
@@ -279,7 +279,6 @@ static int uwbd(void *param) | |||
279 | HZ); | 279 | HZ); |
280 | if (should_stop) | 280 | if (should_stop) |
281 | break; | 281 | break; |
282 | try_to_freeze(); | ||
283 | 282 | ||
284 | spin_lock_irqsave(&rc->uwbd.event_list_lock, flags); | 283 | spin_lock_irqsave(&rc->uwbd.event_list_lock, flags); |
285 | if (!list_empty(&rc->uwbd.event_list)) { | 284 | if (!list_empty(&rc->uwbd.event_list)) { |