From: Martin Schwidefsky Date: Mon, 7 Dec 2009 11:52:21 +0000 (+0100) Subject: [S390] zcrypt: remove BKL X-Git-Tag: MMI-PSA29.97-13-9~25715^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b8ccc51f6fc6cde3644b4a2159fb57fe6c38d465;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [S390] zcrypt: remove BKL Signed-off-by: Martin Schwidefsky --- diff --git a/drivers/s390/crypto/zcrypt_api.c b/drivers/s390/crypto/zcrypt_api.c index fe214770f2e7..0d4d18bdd45c 100644 --- a/drivers/s390/crypto/zcrypt_api.c +++ b/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; }