From: Kevin Hao Date: Fri, 8 Dec 2023 08:29:34 +0000 (+0800) Subject: module: Remove redundant TASK_UNINTERRUPTIBLE X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f17f2c13d613cbeef529b03ca17ae2581b2e6cb8;p=linux.git module: Remove redundant TASK_UNINTERRUPTIBLE TASK_KILLABLE already includes TASK_UNINTERRUPTIBLE, so there is no need to add a separate TASK_UNINTERRUPTIBLE. Signed-off-by: Kevin Hao Signed-off-by: Luis Chamberlain --- diff --git a/kernel/module/dups.c b/kernel/module/dups.c index f3d7ea1e96d82..9a92f2f8c9d38 100644 --- a/kernel/module/dups.c +++ b/kernel/module/dups.c @@ -207,7 +207,7 @@ bool kmod_dup_request_exists_wait(char *module_name, bool wait, int *dup_ret) * optimization enabled ... */ ret = wait_for_completion_state(&kmod_req->first_req_done, - TASK_UNINTERRUPTIBLE | TASK_KILLABLE); + TASK_KILLABLE); if (ret) { *dup_ret = ret; return true;