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>
This commit is contained in:
parent
61f2e77489
commit
48175fed1d
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue