dm crypt: remove redundant state settings after waking up

The task status has been set to TASK_RUNNING in schedule().
No need to set again here.

Signed-off-by: Lizhe <sensor1010@163.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
This commit is contained in:
Lizhe 2024-01-11 21:00:05 -08:00 committed by Mike Snitzer
parent 47c00dcdd5
commit b9d3ac48a8

View File

@ -1964,7 +1964,6 @@ continue_locked:
schedule();
set_current_state(TASK_RUNNING);
spin_lock_irq(&cc->write_thread_lock);
goto continue_locked;