diff mbox series

pinctrl: amd: Fix an unused variable

Message ID 20220801144952.141-1-mario.limonciello@amd.com
State Accepted
Commit df91ffe8cb75d9d80ffe821493bffdc11e65687c
Headers show
Series pinctrl: amd: Fix an unused variable | expand

Commit Message

Mario Limonciello Aug. 1, 2022, 2:49 p.m. UTC
`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(-)

Comments

Linus Walleij Aug. 3, 2022, 6:15 p.m. UTC | #1
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
diff mbox series

Patch

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;