mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-23 08:35:19 -05:00
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>
This commit is contained in:
parent
ceb6a6f023
commit
f17f2c13d6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue