summaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorQinglang Miao <miaoqinglang@huawei.com>2020-09-16 08:21:30 +0200
committerVasily Gorbik <gor@linux.ibm.com>2020-09-17 14:11:04 +0200
commit48175fed1deaf8f37e918f504a5cff7504c583ad (patch)
treea661825578b620301ea2dc5bc92cb9bbfa0355f3 /drivers/s390
parents390/diag: convert to use DEFINE_SEQ_ATTRIBUTE macro (diff)
downloadlinux-48175fed1deaf8f37e918f504a5cff7504c583ad.tar.xz
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>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/crypto/ap_bus.c1
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;