[S390] zcrypt: remove BKL
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 7 Dec 2009 11:52:21 +0000 (12:52 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Mon, 7 Dec 2009 11:51:39 +0000 (12:51 +0100)
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/crypto/zcrypt_api.c

index fe214770f2e7e5f4603c4ff681e8f61b7178e880..0d4d18bdd45ca26ab685fa112eb752be5a3ded5f 100644 (file)
@@ -299,9 +299,7 @@ static ssize_t zcrypt_write(struct file *filp, const char __user *buf,
  */
 static int zcrypt_open(struct inode *inode, struct file *filp)
 {
-       lock_kernel();
        atomic_inc(&zcrypt_open_count);
-       unlock_kernel();
        return 0;
 }