diff options
author | Kevin Hao <haokexin@gmail.com> | 2023-12-08 16:29:34 +0800 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2023-12-19 13:30:28 -0800 |
commit | f17f2c13d613cbeef529b03ca17ae2581b2e6cb8 (patch) | |
tree | c1f12b293b27cb3db8bf1a7730586f9f55b5736d /kernel/module/dups.c | |
parent | ceb6a6f023fd3e8b07761ed900352ef574010bcb (diff) |
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 <haokexin@gmail.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'kernel/module/dups.c')
-rw-r--r-- | kernel/module/dups.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/module/dups.c b/kernel/module/dups.c index f3d7ea1e96d8..9a92f2f8c9d3 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; |