aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/crypto/prng.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/crypto/prng.c')
-rw-r--r--arch/s390/crypto/prng.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/crypto/prng.c b/arch/s390/crypto/prng.c
index b49c00ce65e9..aa819dac2360 100644
--- a/arch/s390/crypto/prng.c
+++ b/arch/s390/crypto/prng.c
@@ -6,11 +6,11 @@
6#include <linux/fs.h> 6#include <linux/fs.h>
7#include <linux/init.h> 7#include <linux/init.h>
8#include <linux/kernel.h> 8#include <linux/kernel.h>
9#include <linux/smp_lock.h>
10#include <linux/miscdevice.h> 9#include <linux/miscdevice.h>
11#include <linux/module.h> 10#include <linux/module.h>
12#include <linux/moduleparam.h> 11#include <linux/moduleparam.h>
13#include <linux/random.h> 12#include <linux/random.h>
13#include <linux/slab.h>
14#include <asm/debug.h> 14#include <asm/debug.h>
15#include <asm/uaccess.h> 15#include <asm/uaccess.h>
16 16
@@ -49,7 +49,6 @@ static unsigned char parm_block[32] = {
49 49
50static int prng_open(struct inode *inode, struct file *file) 50static int prng_open(struct inode *inode, struct file *file)
51{ 51{
52 cycle_kernel_lock();
53 return nonseekable_open(inode, file); 52 return nonseekable_open(inode, file);
54} 53}
55 54