projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61f2e77
)
s390/ap: remove unnecessary spin_lock_init()
author
Qinglang Miao
<miaoqinglang@huawei.com>
Wed, 16 Sep 2020 06:21:30 +0000
(14:21 +0800)
committer
Vasily Gorbik
<gor@linux.ibm.com>
Thu, 17 Sep 2020 12:11:04 +0000
(14:11 +0200)
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>
drivers/s390/crypto/ap_bus.c
patch
|
blob
|
history
diff --git
a/drivers/s390/crypto/ap_bus.c
b/drivers/s390/crypto/ap_bus.c
index 24a1940b829eed81eb637790839e3c294b6ca760..231a98c9165d57824c5363ae137379373179b7d9 100644
(file)
--- 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;