diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2021-10-20 19:43:58 +0200 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2021-10-29 21:31:33 +0200 |
commit | 111e70490d2a673730b89c010b61cea2d982d121 (patch) | |
tree | 39d09b1edf7871beda0ffd3be69a67fb8cbd8b8b /drivers/soc/ti | |
parent | signal/s390: Use force_sigsegv in default_trap_handler (diff) | |
download | linux-111e70490d2a673730b89c010b61cea2d982d121.tar.xz linux-111e70490d2a673730b89c010b61cea2d982d121.zip |
exit/kthread: Have kernel threads return instead of calling do_exit
In 2009 Oleg reworked[1] the kernel threads so that it is not
necessary to call do_exit if you are not using kthread_stop(). Remove
the explicit calls of do_exit and complete_and_exit (with a NULL
completion) that were previously necessary.
[1] 63706172f332 ("kthreads: rework kthread_stop()")
Link: https://lkml.kernel.org/r/20211020174406.17889-12-ebiederm@xmission.com
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'drivers/soc/ti')
-rw-r--r-- | drivers/soc/ti/wkup_m3_ipc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/ti/wkup_m3_ipc.c b/drivers/soc/ti/wkup_m3_ipc.c index 09abd17065ba..0733443a2631 100644 --- a/drivers/soc/ti/wkup_m3_ipc.c +++ b/drivers/soc/ti/wkup_m3_ipc.c @@ -426,7 +426,7 @@ static void wkup_m3_rproc_boot_thread(struct wkup_m3_ipc *m3_ipc) else m3_ipc_state = m3_ipc; - do_exit(0); + return 0; } static int wkup_m3_ipc_probe(struct platform_device *pdev) |