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

From: Arnd Bergmann

Date: Mon Jun 08 2026 - 01:29:54 EST


On Mon, Jun 8, 2026, at 07:09, Ethan Nelson-Moore wrote:
> If neither CONFIG_IWMMXT nor CONFIG_VFP are enabled (which is the case,
> for example, in rpc_defconfig), the variable "aux" is set but not used,
> which generates a warning during W=1 builds. Resolve this issue by only
> defining the variable if it will be used.
>
> Signed-off-by: Ethan Nelson-Moore <enelsonmoore@xxxxxxxxx>

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>