]> git.baikalelectronics.ru Git - kernel.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)
commit614f55c1277dd1f3e30c5192d8ca1210134ef49b
tree7515283e884467e34979f413a0cb2618765f2c77
parenteed3b85106a043f9ffbef47f30544773be1784b7
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