Skip to content

Commit a09ba31

Browse files
committed
hw_random: Remove BKL from core
hw_random core is completely serialized with rng_mutex. No need for the cycle_kernel_lock() magic. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> LKML-Reference: <20091010153349.844488872@linutronix.de> Cc: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 95fdac7 commit a09ba31

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎drivers/char/hw_random/core.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ static int rng_dev_open(struct inode *inode, struct file *filp)
8787
return -EINVAL;
8888
if (filp->f_mode & FMODE_WRITE)
8989
return -EINVAL;
90-
cycle_kernel_lock();
9190
return 0;
9291
}
9392

0 commit comments

Comments
 (0)