diff options
author | Jens Wiklander <jens.wiklander@linaro.org> | 2021-01-25 10:36:57 +0100 |
---|---|---|
committer | Jens Wiklander <jens.wiklander@linaro.org> | 2021-02-03 08:11:11 +0100 |
commit | 958567600517fd15b7f35ca1a8be0104f0eb0686 (patch) | |
tree | 1c8b042daf7348181090c0848abf36236b4115fe /drivers/rtc/lib.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 <r.czerwinski@pengutronix.de>
Tested-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Tested-by: Sumit Garg <sumit.garg@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'drivers/rtc/lib.c')
0 files changed, 0 insertions, 0 deletions