mm/damon: remove unnecessary do_exit() from kdamond
Subsystems (2)
PATCH 1/1 mm/damon: remove unnecessary do_exit() from kdamond
Just return from the kthread function.
Signed-off-by Changbin Du <[email protected]>
--- mm/damon/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/damon/core.c +1 -1
@@ -714,7 +714,7 @@ static int kdamond_fn(void *data) nr_running_ctxs--;mutex_unlock (&damon_lock); -do_exit (0 ); +return 0 ; }#include "core-test.h"
Signature · 1 line
2.25.1