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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <8e6ec20e-8965-4b42-99fc-0462269ff2f1@paulmck-laptop>
Date: Wed, 12 Nov 2025 12:59:53 -0800
From: "Paul E. McKenney" <paulmck@...nel.org>
To: bartosz.golaszewski@...aro.org, p.zabel@...gutronix.de
Cc: linux-kernel@...r.kernel.org, sfr@...b.auug.org.au,
	bigeasy@...utronix.de
Subject: [PATCH -next] reset: Remove unused variables

Neither reset_lookup_mutex nor reset_lookup_list are used anymore, which
results in build errors, so remove them.  It would be best if this were
to be folded into commit 205b261463ff ("reset: remove legacy reset lookup
code"), the better for bisection efforts.

Reproduce on armv8 with:

tools/testing/selftests/rcutorture/bin/torture.sh --duration 10 --do-none --do-rt

Fixes: 205b261463ff ("reset: remove legacy reset lookup code") # -next
Signed-off-by: Paul E. McKenney <paulmck@...nel.org>
Cc: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Cc: Philipp Zabel <p.zabel@...gutronix.de>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Sebastian Andrzej Siewior <bigeasy@...utronix.de>

diff --git a/drivers/reset/core.c b/drivers/reset/core.c
index 22f67fc77ae5..93575d5064a5 100644
--- a/drivers/reset/core.c
+++ b/drivers/reset/core.c
@@ -25,9 +25,6 @@
 static DEFINE_MUTEX(reset_list_mutex);
 static LIST_HEAD(reset_controller_list);
 
-static DEFINE_MUTEX(reset_lookup_mutex);
-static LIST_HEAD(reset_lookup_list);
-
 /* Protects reset_gpio_lookup_list */
 static DEFINE_MUTEX(reset_gpio_lookup_mutex);
 static LIST_HEAD(reset_gpio_lookup_list);

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ