Re: [PATCH] pinctrl: mvebu: remove unused variable

From: Linus Walleij
Date: Thu Jan 26 2017 - 09:18:10 EST


On Mon, Jan 23, 2017 at 1:17 PM, Arnd Bergmann <arnd@xxxxxxxx> wrote:

> A cleanup caused a harmless warning:
>
> drivers/pinctrl/mvebu/pinctrl-kirkwood.c: In function 'kirkwood_pinctrl_probe':
> drivers/pinctrl/mvebu/pinctrl-kirkwood.c:460:19: error: unused variable 'res' [-Werror=unused-variable]
>
> The obvious fix is to remove the declaration of the now unused
> variable.
>
> Fixes: ad9ec4ecee68 ("pinctrl: mvebu: switch drivers to generic simple mmio")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Patch applied.

Yours,
Linus Walleij