diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-12-07 06:52:21 -0500 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2009-12-07 06:51:39 -0500 |
commit | b8ccc51f6fc6cde3644b4a2159fb57fe6c38d465 (patch) | |
tree | c19c8c0dd7c74cd93fceafb2a23a19ef7a1730ba /drivers/s390/crypto | |
parent | 5cbb5f579e5b6f2e686880ffafa64e49323320c1 (diff) |
[S390] zcrypt: remove BKL
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/crypto')
-rw-r--r-- | drivers/s390/crypto/zcrypt_api.c | 2 |
1 files changed, 0 insertions, 2 deletions
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, | |||
299 | */ | 299 | */ |
300 | static int zcrypt_open(struct inode *inode, struct file *filp) | 300 | static int zcrypt_open(struct inode *inode, struct file *filp) |
301 | { | 301 | { |
302 | lock_kernel(); | ||
303 | atomic_inc(&zcrypt_open_count); | 302 | atomic_inc(&zcrypt_open_count); |
304 | unlock_kernel(); | ||
305 | return 0; | 303 | return 0; |
306 | } | 304 | } |
307 | 305 | ||