]> asedeno.scripts.mit.edu Git - linux.git/commit
x86: apuv2: remove unused variable
authorArnd Bergmann <arnd@arndb.de>
Mon, 4 Mar 2019 20:09:07 +0000 (21:09 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 8 Mar 2019 13:11:30 +0000 (14:11 +0100)
commitdeb63b0b812f0ef6c37484f23ee3de4b115f7bb2
tree66cdec88f8674a0d0abb8583a7559f9d3eb26999
parent2870b3c54ca75cdacf92e20f5b518de770f0dbc9
x86: apuv2: remove unused variable

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@arndb.de>
Reviewed-By: Enrico Weigelt, metux IT consult <info@metux.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/platform/x86/pcengines-apuv2.c