aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-10-10 12:36:32 +0200
committerThomas Gleixner <tglx@linutronix.de>2009-10-14 17:36:50 +0200
commita09ba31a54dbc9a548c4ff90619e4c7128a4282e (patch)
tree28d0d46413828231e1222756dceb848ea0eef2f3 /drivers/char/hw_random
parent95fdac73725c15072d068ac7f131958cf5c324e4 (diff)
downloadkernel_samsung_aries-a09ba31a54dbc9a548c4ff90619e4c7128a4282e.zip
kernel_samsung_aries-a09ba31a54dbc9a548c4ff90619e4c7128a4282e.tar.gz
kernel_samsung_aries-a09ba31a54dbc9a548c4ff90619e4c7128a4282e.tar.bz2
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>
Diffstat (limited to 'drivers/char/hw_random')
-rw-r--r--drivers/char/hw_random/core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/hw_random/core.c b/drivers/char/hw_random/core.c
index 1573aeb..75fb859 100644
--- a/drivers/char/hw_random/core.c
+++ b/drivers/char/hw_random/core.c
@@ -87,7 +87,6 @@ static int rng_dev_open(struct inode *inode, struct file *filp)
return -EINVAL;
if (filp->f_mode & FMODE_WRITE)
return -EINVAL;
- cycle_kernel_lock();
return 0;
}