On Mon, Jan 25, 2021 at 10:54 AM Jens Wiklander jens.wiklander@linaro.org wrote:
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") Signed-off-by: Jens Wiklander jens.wiklander@linaro.org
Acked-by: Arnd Bergmann arnd@arndb.de