Commit deb63b0b authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Linus Walleij
Browse files

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: f8eb0235 ("x86: pcengines apuv2 gpio/leds/keys platform driver")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Reviewed-By: default avatarEnrico Weigelt, metux IT consult <info@metux.net>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 2870b3c5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -208,7 +208,6 @@ static struct platform_device * __init apu_create_pdev(

static int __init apu_board_init(void)
{
	int rc;
	const struct dmi_system_id *id;

	id = dmi_first_match(apu_gpio_dmi_table);