diff options
author | Jens Wiklander <[email protected]> | 2021-01-25 10:36:57 +0100 |
---|---|---|
committer | Jens Wiklander <[email protected]> | 2021-02-03 08:11:11 +0100 |
commit | 958567600517fd15b7f35ca1a8be0104f0eb0686 (patch) | |
tree | 1c8b042daf7348181090c0848abf36236b4115fe /net/unix/unix_bpf.c | |
parent | dcb3b06d9c34f33a249f65c08805461fb0c4325b (diff) |
tee: optee: remove need_resched() before cond_resched()
Testing need_resched() before cond_resched() is not needed as an
equivalent test is done internally in cond_resched(). So drop the
need_resched() test.
Fixes: dcb3b06d9c34 ("tee: optee: replace might_sleep with cond_resched")
Reviewed-by: Rouven Czerwinski <[email protected]>
Tested-by: Rouven Czerwinski <[email protected]>
Tested-by: Sumit Garg <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Jens Wiklander <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions