diff options
| author | Christophe JAILLET <[email protected]> | 2023-02-15 13:34:37 +0100 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2023-02-22 14:28:27 +0200 |
| commit | 015bf4df8ea67080668ac8314e692076dea1ce6d (patch) | |
| tree | c5d24bf1578486a4986b5ce0721c32d1d8ff07d9 /tools/perf/scripts/python | |
| parent | 59e6ded57cc1b3b5117cef66dabe6d7977208ba0 (diff) | |
wifi: wfx: Remove some dead code
wait_for_completion_timeout() can not return a <0 value.
So simplify the logic and remove dead code.
-ERESTARTSYS can not be returned by do_wait_for_common() for tasks with
TASK_UNINTERRUPTIBLE, which is the case for wait_for_completion_timeout()
Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Jérôme Pouiller <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/809c4a645c8d1306c0d256345515865c40ec731c.1676464422.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions