Skip to content
Commit 95856760 authored by Jens Wiklander's avatar Jens Wiklander
Browse files

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: dcb3b06d ("tee: optee: replace might_sleep with cond_resched")
Reviewed-by: default avatarRouven Czerwinski <r.czerwinski@pengutronix.de>
Tested-by: default avatarRouven Czerwinski <r.czerwinski@pengutronix.de>
Tested-by: default avatarSumit Garg <sumit.garg@linaro.org>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
parent dcb3b06d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment