projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84595f4
)
MIPS: VR41xx: Drop redundant spinlock initialization
author
Haowen Bai
<baihaowen@meizu.com>
Tue, 10 May 2022 09:55:27 +0000
(17:55 +0800)
committer
Thomas Bogendoerfer
<tsbogend@alpha.franken.de>
Thu, 12 May 2022 15:56:44 +0000
(17:56 +0200)
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>
arch/mips/vr41xx/common/cmu.c
patch
|
blob
|
history
diff --git
a/arch/mips/vr41xx/common/cmu.c
b/arch/mips/vr41xx/common/cmu.c
index b59ee54793137b49179aa5ce401550b49d51fb12..e4cbe116b26dbcfb00802bbd1f807032c7e27e92 100644
(file)
--- a/
arch/mips/vr41xx/common/cmu.c
+++ b/
arch/mips/vr41xx/common/cmu.c
@@
-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;
}