Skip to content

Commit 85663a8

Browse files
Lotte-Baitsbogend
authored andcommitted
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>
1 parent 84595f4 commit 85663a8

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • arch/mips/vr41xx/common

arch/mips/vr41xx/common/cmu.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,6 @@ static int __init vr41xx_cmu_init(void)
236236
if (current_cpu_type() == CPU_VR4133)
237237
cmuclkmsk2 = cmu_read(CMUCLKMSK2);
238238

239-
spin_lock_init(&cmu_lock);
240-
241239
return 0;
242240
}
243241

0 commit comments

Comments
 (0)