Commit 9299f12c authored by Hongbo Li's avatar Hongbo Li Committed by Greg Kroah-Hartman
Browse files

usb: f_mass_storage: Make use of the helper macro kthread_run()



Replace kthread_create/wake_up_process() with kthread_run()
to simplify the code.

Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarHongbo Li <lihongbo22@huawei.com>
Link: https://lore.kernel.org/r/20240903014249.3098082-1-lihongbo22@huawei.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a17f04d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment