[PATCH] MIPS:Loongson2F:delete mutex defined but not used

From: Kailong Wang
Date: Wed May 12 2021 - 21:31:41 EST


For 4.19.X, 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