]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: Drop redundant spinlock initialization
authorHaowen Bai <baihaowen@meizu.com>
Wed, 11 May 2022 01:27:56 +0000 (09:27 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 22 May 2022 05:58:31 +0000 (15:58 +1000)
commit7781a498681b22a739329f6298862dbc7c7a00fe
tree05caac23cb6d9c1c2a8aec8b75f521b10877be26
parent3dbcb02759cc0e4cbe560e22ef333fbdcdc9bb55
powerpc/eeh: Drop redundant spinlock initialization

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

Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1652232476-9696-1-git-send-email-baihaowen@meizu.com
arch/powerpc/platforms/pseries/eeh_pseries.c