Repository : ssh://git@diktynna/batman-adv
On branch : master
commit 529ea5b93122434841c11f1337421840f735b978 Author: Eric W. Biederman ebiederm@xmission.com Date: Wed Oct 20 12:43:58 2021 -0500
batman-adv: 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 Signed-off-by: Sven Eckelmann sven@narfation.org
529ea5b93122434841c11f1337421840f735b978 net/batman-adv/tp_meter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/batman-adv/tp_meter.c b/net/batman-adv/tp_meter.c index fbcb15c7..93730d30 100644 --- a/net/batman-adv/tp_meter.c +++ b/net/batman-adv/tp_meter.c @@ -890,7 +890,7 @@ out:
batadv_tp_vars_put(tp_vars);
- do_exit(0); + return 0; }
/**