mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-24 14:45:12 +08:00
MIPS: VR41xx: 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: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
parent
84595f450a
commit
85663a86cd
@ -236,8 +236,6 @@ static int __init vr41xx_cmu_init(void)
|
||||
if (current_cpu_type() == CPU_VR4133)
|
||||
cmuclkmsk2 = cmu_read(CMUCLKMSK2);
|
||||
|
||||
spin_lock_init(&cmu_lock);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user