linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] MIPS:Loongson2F:delete mutex defined but not used
@ 2021-06-05  6:03 chenxb_99091
  0 siblings, 0 replies; 5+ messages in thread
From: chenxb_99091 @ 2021-06-05  6:03 UTC (permalink / raw)
  To: Jiaxun Yang, Huacai Chen, Ralf Baechle, Paul Burton, James Hogan
  Cc: linux-kernel, Kailong

From: Kailong <wkailong1993@163.com>

For 4.19.X, mutex clock_list_sem defined in
 arch/mips/loongson64/lemote-2f/clock.c never be used.  So delete it

Signed-off-by: Kailong <wkailong1993@163.com>
---
 arch/mips/loongson64/lemote-2f/clock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/loongson64/lemote-2f/clock.c b/arch/mips/loongson64/lemote-2f/clock.c
index 8281334..aff58b0 100644
--- a/arch/mips/loongson64/lemote-2f/clock.c
+++ b/arch/mips/loongson64/lemote-2f/clock.c
@@ -19,7 +19,7 @@
 
 static LIST_HEAD(clock_list);
 static DEFINE_SPINLOCK(clock_lock);
-static DEFINE_MUTEX(clock_list_sem);
+
 
 /* Minimum CLK support */
 enum {
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH] MIPS:Loongson2F:delete mutex defined but not used
@ 2021-06-05  6:00 chenxb_99091
  0 siblings, 0 replies; 5+ messages in thread
From: chenxb_99091 @ 2021-06-05  6:00 UTC (permalink / raw)
  To: Jiaxun Yang, Huacai Chen, Ralf Baechle, Paul Burton, James Hogan,
	linux-kernel
  Cc: Kailong

From: Kailong <wkailong1993@163.com>

For 4.19.X, mutex clock_list_sem defined in
 arch/mips/loongson64/lemote-2f/clock.c never be used.  So delete it

Signed-off-by: Kailong <wkailong1993@163.com>
---
 arch/mips/loongson64/lemote-2f/clock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/loongson64/lemote-2f/clock.c b/arch/mips/loongson64/lemote-2f/clock.c
index 8281334..aff58b0 100644
--- a/arch/mips/loongson64/lemote-2f/clock.c
+++ b/arch/mips/loongson64/lemote-2f/clock.c
@@ -19,7 +19,7 @@
 
 static LIST_HEAD(clock_list);
 static DEFINE_SPINLOCK(clock_lock);
-static DEFINE_MUTEX(clock_list_sem);
+
 
 /* Minimum CLK support */
 enum {
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH] MIPS:Loongson2F:delete mutex defined but not used
@ 2021-06-05  5:56 chenxb_99091
  0 siblings, 0 replies; 5+ messages in thread
From: chenxb_99091 @ 2021-06-05  5:56 UTC (permalink / raw)
  To: Jiaxun Yang, Huacai Chen, Ralf Baechle, Paul Burton, James Hogan,
	linux-mips, linux-kernel
  Cc: Kailong

From: Kailong <wkailong1993@163.com>

For 4.19.X, mutex clock_list_sem defined in
 arch/mips/loongson64/lemote-2f/clock.c never be used.  So delete it

Signed-off-by: Kailong <wkailong1993@163.com>
---
 arch/mips/loongson64/lemote-2f/clock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/loongson64/lemote-2f/clock.c b/arch/mips/loongson64/lemote-2f/clock.c
index 8281334..aff58b0 100644
--- a/arch/mips/loongson64/lemote-2f/clock.c
+++ b/arch/mips/loongson64/lemote-2f/clock.c
@@ -19,7 +19,7 @@
 
 static LIST_HEAD(clock_list);
 static DEFINE_SPINLOCK(clock_lock);
-static DEFINE_MUTEX(clock_list_sem);
+
 
 /* Minimum CLK support */
 enum {
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH] MIPS:Loongson2F:delete mutex defined but not used
@ 2021-05-13  0:58 Kailong Wang
  0 siblings, 0 replies; 5+ messages in thread
From: Kailong Wang @ 2021-05-13  0:58 UTC (permalink / raw)
  To: jiaxun.yang, chenhc
  Cc: ralf, paul.burton, jhogan, linux-mips, linux-kernel, Kailong Wang

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@126.com>
---
 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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH] MIPS:Loongson2F:delete mutex defined but not used
@ 2021-05-04  8:09 Kailong Wang
  0 siblings, 0 replies; 5+ messages in thread
From: Kailong Wang @ 2021-05-04  8:09 UTC (permalink / raw)
  To: jiaxun.yang, chenhc
  Cc: ralf, paul.burton, jhogan, linux-mips, linux-kernel, Kailong Wang

mutex "clock_list_sem" defined in arch/mips/loongson64/lemote-2f/clock.c 
never be used.

Signed-off-by: Kailong Wang <Wkailong1993@163.com>
---
 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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-05  6:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-05  6:03 [PATCH] MIPS:Loongson2F:delete mutex defined but not used chenxb_99091
  -- strict thread matches above, loose matches on Subject: below --
2021-06-05  6:00 chenxb_99091
2021-06-05  5:56 chenxb_99091
2021-05-13  0:58 Kailong Wang
2021-05-04  8:09 Kailong Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).