gpiolib-acpi: remove unused variable 'err', cleans up build warning
authorColin Ian King <colin.king@canonical.com>
Tue, 18 Dec 2018 12:28:02 +0000 (12:28 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 21 Dec 2018 10:31:28 +0000 (11:31 +0100)
commit6c905f91d8ae103cc0767267509a456f961a279d
treec7a5068fabf2b9c283b89a4f1c3b308c9e21c71e
parentf0df462f3ae1d10131f8ff7daa016ce1a8686727
gpiolib-acpi: remove unused variable 'err', cleans up build warning

Variable err is defined but never used. Remove it. Cleans up warning:

warning: unused variable ‘err’ [-Wunused-variable]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-acpi.c