Re: [PATCH] ARM: arch/arm/kernel/signal.c: resolve set-but-not-used warning
From: Ethan Nelson-Moore
Date: Mon Jun 08 2026 - 22:07:19 EST
Hi, Baruch,
On Sun, Jun 7, 2026 at 10:36 PM Baruch Siach <baruch@xxxxxxxxxx> 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