Skip to content

Commit f17f2c1

Browse files
haokexinmcgrof
authored andcommitted
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>
1 parent ceb6a6f commit f17f2c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/module/dups.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ bool kmod_dup_request_exists_wait(char *module_name, bool wait, int *dup_ret)
207207
* optimization enabled ...
208208
*/
209209
ret = wait_for_completion_state(&kmod_req->first_req_done,
210-
TASK_UNINTERRUPTIBLE | TASK_KILLABLE);
210+
TASK_KILLABLE);
211211
if (ret) {
212212
*dup_ret = ret;
213213
return true;

0 commit comments

Comments
 (0)