* [PATCH] pinctrl: nomadik: remove unused variable ‘wake’ in nmk_gpio_dbg_show_one
@ 2021-01-05 14:04 Ye Bin
0 siblings, 0 replies; only message in thread
From: Ye Bin @ 2021-01-05 14:04 UTC (permalink / raw)
To: linus.walleij, linux-arm-kernel, linux-gpio, linux-kernel; +Cc: Ye Bin
Fix follow warning:
drivers/pinctrl/nomadik/pinctrl-nomadik.c:952:8: warning: unused
variable ‘wake’ [-Wunused-variable]
bool wake;
^~~~
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Ye Bin <yebin10@huawei.com>
---
drivers/pinctrl/nomadik/pinctrl-nomadik.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/pinctrl/nomadik/pinctrl-nomadik.c b/drivers/pinctrl/nomadik/pinctrl-nomadik.c
index d4ea10803fd9..abfe11c7b49f 100644
--- a/drivers/pinctrl/nomadik/pinctrl-nomadik.c
+++ b/drivers/pinctrl/nomadik/pinctrl-nomadik.c
@@ -949,7 +949,6 @@ static void nmk_gpio_dbg_show_one(struct seq_file *s,
} else {
int irq = chip->to_irq(chip, offset);
const int pullidx = pull ? 1 : 0;
- bool wake;
int val;
static const char * const pulls[] = {
"none ",
--
2.16.2.dirty
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-05 13:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-05 14:04 [PATCH] pinctrl: nomadik: remove unused variable ‘wake’ in nmk_gpio_dbg_show_one Ye Bin
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).