[PATCH] ARM: arch/arm/kernel/signal.c: resolve set-but-not-used warning

Ethan Nelson-Moore enelsonmoore at gmail.com
Mon Jun 8 19:02:28 PDT 2026


Hi, Baruch,

On Sun, Jun 7, 2026 at 10:36 PM Baruch Siach <baruch at tkos.co.il> wrote:
> __maybe_unused is a common attribute marking local variables that are not
> always used. I find it nicer than another layer of #ifdef.
That's a good point. The compiler will just optimize it out in this
case. I'll send a new version of the patch using this attribute.

Ethan



More information about the linux-arm-kernel mailing list