[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdaeMr=gKH2FSL4kkSyOirD__Pc3YYGoPga2GUvX3kjYBw@mail.gmail.com>
Date: Thu, 4 Apr 2024 13:45:55 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-gpio@...r.kernel.org
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@...adoo.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@...adoo.fr>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists