gpio: pxa: remove set but not used variable 'gpio_offset'
commitae61bac9c470cf546558ea525e7cf6b636f04046
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 1 Aug 2018 01:40:31 +0000 (1 01:40 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 2 Aug 2018 21:32:29 +0000 (2 23:32 +0200)
tree7dccafc77c2ba6b281caca68b0c1740b0f46a791
parent4e133828e2ca6de5b7563842817a65836a45f63f
gpio: pxa: remove set but not used variable 'gpio_offset'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpio/gpio-pxa.c: In function "pxa_gpio_probe":
drivers/gpio/gpio-pxa.c:629:35: warning:
 variable "gpio_offset" set but not used [-Wunused-but-set-variable]
  int irq0 = 0, irq1 = 0, irq_mux, gpio_offset = 0;
                                   ^
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pxa.c