Explorar o código

[S390] zcrypt: remove BKL

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Martin Schwidefsky %!s(int64=15) %!d(string=hai) anos
pai
achega
b8ccc51f6f
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      drivers/s390/crypto/zcrypt_api.c

+ 0 - 2
drivers/s390/crypto/zcrypt_api.c

@@ -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;
 }