Re: [PATCH] pinctrl: max77620: Remove an unused fields in struct max77620_pin_info and max77620_pctrl_info
From: Linus Walleij
Date: Thu Apr 04 2024 - 07:46:19 EST
On Mon, Apr 1, 2024 at 7:30 PM Christophe JAILLET
<christophe.jaillet@xxxxxxxxxx> wrote:
> In "struct max77620_pin_info", the 'pull_config' field is unused.
> In "struct max77620_pctrl_info", the 'pins_current_opt' field is unused.
>
> Remove them.
>
> On my x86_64 config, with allmodconfig, this shrinks the struct
> max77620_pctrl_info from 360 bytes to 296.
>
> Found with cppcheck, unusedStructMember.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Patch applied.
Yours,
Linus Walleij