* [PATCH] pinctrl: nomadik: remove unused variable ‘wake’ in nmk_gpio_dbg_show_one
@ 2021-01-05 14:04 ` Ye Bin
0 siblings, 0 replies; 2+ messages 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] 2+ messages in thread* [PATCH] pinctrl: nomadik: remove unused variable ‘wake’ in nmk_gpio_dbg_show_one
@ 2021-01-05 14:04 ` Ye Bin
0 siblings, 0 replies; 2+ messages 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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-05 13:54 UTC | newest]
Thread overview: 2+ messages (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
2021-01-05 14:04 ` Ye Bin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.