[PATCH] pinctrl: amd: Fix an unused variable

Mario Limonciello posted 1 patch 3 years, 8 months ago
drivers/pinctrl/pinctrl-amd.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] pinctrl: amd: Fix an unused variable
Posted by Mario Limonciello 3 years, 8 months ago
`char *output_enable` is no longer used once switching to unicode
output.

Fixes: e8129a076a50 ("pinctrl: amd: Use unicode for debugfs output")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
---
 drivers/pinctrl/pinctrl-amd.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/pinctrl/pinctrl-amd.c b/drivers/pinctrl/pinctrl-amd.c
index 492b76f2c03e..4691a33bc374 100644
--- a/drivers/pinctrl/pinctrl-amd.c
+++ b/drivers/pinctrl/pinctrl-amd.c
@@ -216,7 +216,6 @@ static void amd_gpio_dbg_show(struct seq_file *s, struct gpio_chip *gc)
 	char *pull_up_enable;
 	char *pull_down_enable;
 	char *orientation;
-	char *output_enable;
 	char debounce_value[40];
 	char *debounce_enable;
 
-- 
2.34.1
Re: [PATCH] pinctrl: amd: Fix an unused variable
Posted by Linus Walleij 3 years, 8 months ago
On Mon, Aug 1, 2022 at 4:49 PM Mario Limonciello
<mario.limonciello@amd.com> wrote:

> `char *output_enable` is no longer used once switching to unicode
> output.
>
> Fixes: e8129a076a50 ("pinctrl: amd: Use unicode for debugfs output")
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>

Patch applied!

Yours,
Linus Walleij