Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jiri Kosina and committed by
Greg Kroah-Hartman
ced08b02 d5ddcdf4

-1
-1
drivers/uwb/uwbd.c
··· 279 279 HZ); 280 280 if (should_stop) 281 281 break; 282 - try_to_freeze(); 283 282 284 283 spin_lock_irqsave(&rc->uwbd.event_list_lock, flags); 285 284 if (!list_empty(&rc->uwbd.event_list)) {