Messages in this thread | ![/](/images/icornerl.gif) | | From | Linus Walleij <> | Date | Thu, 4 Apr 2024 13:45:55 +0200 | Subject | Re: [PATCH] pinctrl: max77620: Remove an unused fields in struct max77620_pin_info and max77620_pctrl_info |
| |
On Mon, Apr 1, 2024 at 7:30 PM Christophe JAILLET <christophe.jaillet@wanadoo.fr> 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@wanadoo.fr>
Patch applied.
Yours, Linus Walleij
| ![\](/images/icornerr.gif) |