diff options
author | 2020-09-16 14:21:30 +0800 | |
---|---|---|
committer | 2020-09-17 14:11:04 +0200 | |
commit | 48175fed1deaf8f37e918f504a5cff7504c583ad (patch) | |
tree | a661825578b620301ea2dc5bc92cb9bbfa0355f3 | |
parent | s390/diag: convert to use DEFINE_SEQ_ATTRIBUTE macro (diff) | |
download | linux-48175fed1deaf8f37e918f504a5cff7504c583ad.tar.gz linux-48175fed1deaf8f37e918f504a5cff7504c583ad.tar.bz2 linux-48175fed1deaf8f37e918f504a5cff7504c583ad.zip |
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>
-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; |