]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
pinctrl: amd: Fix an unused variable
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 1 Aug 2022 14:49:52 +0000 (09:49 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 3 Aug 2022 18:14:52 +0000 (20:14 +0200)
`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>
Link: https://lore.kernel.org/r/20220801144952.141-1-mario.limonciello@amd.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-amd.c

index 492b76f2c03e213e316aa2fc7e048172b46c99de..4691a33bc374fc9e5dddc6bd250ce1610ff47686 100644 (file)
@@ -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;