[PATCH] MIPS:Loongson2F:delete mutex defined but not used
From: Kailong Wang
Date: Tue May 04 2021 - 04:10:29 EST
mutex "clock_list_sem" defined in arch/mips/loongson64/lemote-2f/clock.c
never be used.
Signed-off-by: Kailong Wang <Wkailong1993@xxxxxxx>
---
arch/mips/loongson64/lemote-2f/clock.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/mips/loongson64/lemote-2f/clock.c b/arch/mips/loongson64/lemote-2f/clock.c
index 8281334..5f1cdcf 100644
--- a/arch/mips/loongson64/lemote-2f/clock.c
+++ b/arch/mips/loongson64/lemote-2f/clock.c
@@ -19,7 +19,6 @@
static LIST_HEAD(clock_list);
static DEFINE_SPINLOCK(clock_lock);
-static DEFINE_MUTEX(clock_list_sem);
/* Minimum CLK support */
enum {
--
2.7.4