mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kailong Wang <Wkailong1993@163.com>
To: jiaxun.yang@flygoat.com, chenhc@lemote.com
Cc: ralf@linux-mips.org, paul.burton@mips.com, jhogan@kernel.org,
	linux-mips@linux-mips.org, linux-kernel@vger.kernel.org,
	Kailong Wang <Wkailong1993@163.com>
Subject: [PATCH] MIPS:Loongson2F:delete mutex defined but not used
Date: Tue,  4 May 2021 01:09:33 -0700	[thread overview]
Message-ID: <1620115773-5662-1-git-send-email-Wkailong1993@163.com> (raw)

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


             reply	other threads:[~2021-05-04  8:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-04  8:09 Kailong Wang [this message]
2021-05-13  0:58 Kailong Wang
2021-06-05  5:56 chenxb_99091
2021-06-05  6:00 chenxb_99091
2021-06-05  6:03 chenxb_99091

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1620115773-5662-1-git-send-email-Wkailong1993@163.com \
    --to=wkailong1993@163.com \
    --cc=chenhc@lemote.com \
    --cc=jhogan@kernel.org \
    --cc=jiaxun.yang@flygoat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=paul.burton@mips.com \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®