ia64: mca: drop redundant spinlock initialization
authorHaowen Bai <baihaowen@meizu.com>
Fri, 13 May 2022 03:38:37 +0000 (20:38 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 13 May 2022 03:38:37 +0000 (20:38 -0700)
commit25d9767831d3dcae8f9f278555ba9ed57b30bbce
treeaea015790ee3d46929cdcec5b71f5736f77ca891
parent6b9dbedbe3499fef862c4dff5217cf91f34e43b3
ia64: mca: drop redundant spinlock initialization

mlogbuf_rlock has declared and initialized by DEFINE_SPINLOCK,
so we don't need to spin_lock_init again, drop it.

Link: https://lkml.kernel.org/r/1652176897-4754-1-git-send-email-baihaowen@meizu.com
Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/ia64/kernel/mca.c