Re: [PATCH] pinctrl: nomadik: remove an unused variable

From: Linus Walleij
Date: Tue Jan 05 2021 - 17:26:14 EST


On Wed, Dec 30, 2020 at 4:46 PM Arnd Bergmann <arnd@xxxxxxxxxx> wrote:

> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> A recent patch added a local variable twice:
>
> drivers/pinctrl/nomadik/pinctrl-nomadik.c:953:8: error: unused variable 'wake' [-Werror,-Wunused-variable]
>
> Remove the unused outer declaration
>
> Fixes: f3925032d7fd ("pinctrl: nomadik: Use irq_has_action()")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

I got an identical patch from Nathan Chancellor on dec 29 :D

I'll add your reported-by and Andrews tags.

Yours,
Linus Walleij