Re: [PATCH 1/3] x86: apuv2: remove unused variable

From: Linus Walleij
Date: Fri Mar 08 2019 - 04:11:54 EST


On Mon, Mar 4, 2019 at 9:09 PM Arnd Bergmann <arnd@xxxxxxxx> wrote:

> The driver was newly introduced but the version that got merged
> produces a harmless compiler warning:
>
> drivers/platform/x86/pcengines-apuv2.c: In function 'apu_board_init':
> drivers/platform/x86/pcengines-apuv2.c:211:6: error: unused variable 'rc' [-Werror=unused-variable]
>
> Remove the evidently useless variable.
>
> Fixes: f8eb0235f659 ("x86: pcengines apuv2 gpio/leds/keys platform driver")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

As Torvalds did not yet pull the GPIO tree (maybe because of this
and other bugs, who knows) I applied this to my GPIO tree for
now.

Yours,
Linus Walleij