diff options
author | Qinglang Miao <miaoqinglang@huawei.com> | 2020-09-16 14:21:30 +0800 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2020-09-17 14:11:04 +0200 |
commit | 48175fed1deaf8f37e918f504a5cff7504c583ad (patch) | |
tree | a661825578b620301ea2dc5bc92cb9bbfa0355f3 /drivers/s390/crypto | |
parent | 61f2e77489182b9b0e2fabe875e151fd46d286a1 (diff) | |
download | linux-48175fed1deaf8f37e918f504a5cff7504c583ad.tar.bz2 |
s390/ap: remove unnecessary spin_lock_init()
The spinlock ap_poll_timer_lock is initialized statically. It is
unnecessary to initialize by spin_lock_init().
Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers/s390/crypto')
-rw-r--r-- | drivers/s390/crypto/ap_bus.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/crypto/ap_bus.c b/drivers/s390/crypto/ap_bus.c index 24a1940b829e..231a98c9165d 100644 --- a/drivers/s390/crypto/ap_bus.c +++ b/drivers/s390/crypto/ap_bus.c @@ -1575,7 +1575,6 @@ static int __init ap_module_init(void) */ if (MACHINE_IS_VM) poll_timeout = 1500000; - spin_lock_init(&ap_poll_timer_lock); hrtimer_init(&ap_poll_timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); ap_poll_timer.function = ap_poll_timeout; |