mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 23:29:46 +00:00
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>
This commit is contained in:
parent
2870b3c54c
commit
deb63b0b81
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user