lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1620867531-66587-1-git-send-email-wkailong1993@126.com>
Date:   Wed, 12 May 2021 17:58:51 -0700
From:   Kailong Wang <wkailong1993@....com>
To:     jiaxun.yang@...goat.com, chenhc@...ote.com
Cc:     ralf@...ux-mips.org, paul.burton@...s.com, jhogan@...nel.org,
        linux-mips@...ux-mips.org, linux-kernel@...r.kernel.org,
        Kailong Wang <wkailong1993@....com>
Subject: [PATCH] MIPS:Loongson2F:delete mutex defined but not used

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ