diff options
author | Anton Ivanov <anton.ivanov@cambridgegreys.com> | 2018-11-13 16:08:02 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2018-12-27 22:48:35 +0100 |
commit | 940b241d9050fc354f68c182e99fc3da1ff36bc0 (patch) | |
tree | d57775381213bb7cf168bc506242e054954e6e5c /arch/um/drivers/random.c | |
parent | um: writev needs <sys/uio.h> (diff) | |
download | linux-940b241d9050fc354f68c182e99fc3da1ff36bc0.tar.xz linux-940b241d9050fc354f68c182e99fc3da1ff36bc0.zip |
um: Remove obsolete reenable_XX calls
reenable_fd has been a NOP since the introduction of the EPOLL
based interrupt controller.
reenable_channel() is no longer needed as the flow control is
now handled via the write IRQs on the channel.
Signed-off-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
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 778a0e52d5a5..1d5d3057e6f1 100644 --- a/arch/um/drivers/random.c +++ b/arch/um/drivers/random.c @@ -73,7 +73,6 @@ static ssize_t rng_dev_read (struct file *filp, char __user *buf, size_t size, return ret ? : -EAGAIN; atomic_inc(&host_sleep_count); - reactivate_fd(random_fd, RANDOM_IRQ); add_sigio_fd(random_fd); add_wait_queue(&host_read_wait, &wait); |