Re: [PATCH] pinctrl: pinctrl-single: Remove some unused fields in struct pcs_function
From: Linus Walleij
Date: Thu Apr 04 2024 - 07:47:15 EST
On Mon, Apr 1, 2024 at 10:49 PM Christophe JAILLET
<christophe.jaillet@xxxxxxxxxx> 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@xxxxxxxxxx>
Patch applied.
Yours,
Linus Walleij