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]
Date:   Fri, 17 Apr 2020 17:20:42 +0800
From:   Jason Yan <yanaijie@...wei.com>
To:     <renesas@...der.be>, <linus.walleij@...aro.org>,
        <nishkadg.linux@...il.com>, <linux-renesas-soc@...r.kernel.org>,
        <linux-gpio@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC:     Jason Yan <yanaijie@...wei.com>, Hulk Robot <hulkci@...wei.com>
Subject: [PATCH] pinctrl: rza1: remove unused 'rza1l_swio_pins'

Fix the following gcc warning:

drivers/pinctrl/pinctrl-rza1.c:401:35: warning: ‘rza1l_swio_pins’
defined but not used [-Wunused-const-variable=]
 static const struct rza1_swio_pin rza1l_swio_pins[] = {
                                   ^~~~~~~~~~~~~~~

Reported-by: Hulk Robot <hulkci@...wei.com>
Signed-off-by: Jason Yan <yanaijie@...wei.com>
---
 drivers/pinctrl/pinctrl-rza1.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/drivers/pinctrl/pinctrl-rza1.c b/drivers/pinctrl/pinctrl-rza1.c
index da2d8365c690..e96bf89b3764 100644
--- a/drivers/pinctrl/pinctrl-rza1.c
+++ b/drivers/pinctrl/pinctrl-rza1.c
@@ -398,15 +398,6 @@ static const struct rza1_bidir_pin rza1l_bidir_pins_p9[] = {
 	{ .pin = 5, .func = 3 },
 };
 
-static const struct rza1_swio_pin rza1l_swio_pins[] = {
-	{ .port = 2, .pin = 8, .func = 2, .input = 0 },
-	{ .port = 5, .pin = 6, .func = 3, .input = 0 },
-	{ .port = 6, .pin = 6, .func = 3, .input = 0 },
-	{ .port = 6, .pin = 10, .func = 3, .input = 0 },
-	{ .port = 7, .pin = 10, .func = 2, .input = 0 },
-	{ .port = 8, .pin = 2, .func = 3, .input = 0 },
-};
-
 static const struct rza1_bidir_entry rza1l_bidir_entries[RZA1_NPORTS] = {
 	[1] = { ARRAY_SIZE(rza1l_bidir_pins_p1), rza1l_bidir_pins_p1 },
 	[3] = { ARRAY_SIZE(rza1l_bidir_pins_p3), rza1l_bidir_pins_p3 },
-- 
2.21.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ