[PATCH] pinctrl: pinctrl-single: Remove some unused fields in struct pcs_function

Linus Walleij linus.walleij at linaro.org
Thu Apr 4 04:46:49 PDT 2024


On Mon, Apr 1, 2024 at 10:49 PM Christophe JAILLET
<christophe.jaillet at wanadoo.fr> wrote:

> In "struct pcs_function", the 'pgnames' and 'npgnames' fields are unused.
> This is a left-over from commit 571aec4df5b7 ("pinctrl: single: Use generic
> pinmux helpers for managing functions");
>
> Remove them.
>
> Found with cppcheck, unusedStructMember.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet at wanadoo.fr>

Patch applied.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list