]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
exit/rtl8723bs: Replace the macro thread_exit with a simple return 0
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 20 Oct 2021 17:44:04 +0000 (12:44 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Fri, 29 Oct 2021 19:31:34 +0000 (14:31 -0500)
commit501c88722797a1923145658cce85fb3661121832
tree7515283e884467e34979f413a0cb2618765f2c77
parent695dd0d634df8903e5ead8aa08d326f63b23368a
exit/rtl8723bs: Replace the macro thread_exit with a simple return 0

Every place thread_exit is called is at the end of a function started
with kthread_run.  The code in kthread_run has arranged things so a
kernel thread can just return and do_exit will be called.

So just have the threads return instead of calling complete_and_exit.

Link: https://lkml.kernel.org/r/20211020174406.17889-18-ebiederm@xmission.com
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
drivers/staging/rtl8723bs/core/rtw_cmd.c
drivers/staging/rtl8723bs/core/rtw_xmit.c
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
drivers/staging/rtl8723bs/include/osdep_service_linux.h