diff options
Diffstat (limited to 'arch/um/drivers/random.c')
-rw-r--r-- | arch/um/drivers/random.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/um/drivers/random.c b/arch/um/drivers/random.c index 9e3a72205827..dd16c902ff70 100644 --- a/arch/um/drivers/random.c +++ b/arch/um/drivers/random.c | |||
@@ -79,7 +79,6 @@ static ssize_t rng_dev_read (struct file *filp, char __user *buf, size_t size, | |||
79 | set_task_state(current, TASK_INTERRUPTIBLE); | 79 | set_task_state(current, TASK_INTERRUPTIBLE); |
80 | 80 | ||
81 | schedule(); | 81 | schedule(); |
82 | set_task_state(current, TASK_RUNNING); | ||
83 | remove_wait_queue(&host_read_wait, &wait); | 82 | remove_wait_queue(&host_read_wait, &wait); |
84 | 83 | ||
85 | if (atomic_dec_and_test(&host_sleep_count)) { | 84 | if (atomic_dec_and_test(&host_sleep_count)) { |