pinctrl: abx500: get rid of unused variable
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 2 Oct 2014 07:30:43 +0000 (09:30 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 2 Oct 2014 14:07:00 +0000 (16:07 +0200)
commit3a4b094d5d09b8e0d007b2ca3de4f42df3af46e6
treed3e482dedaa24d8a19c96c38d0f04947b58dd927
parent36905a33dd2d2bd443079ac677545849fa190eb7
pinctrl: abx500: get rid of unused variable

commit 2fcea6cecbc965b4e02a39537d9d939f5251bbbd
"pinctrl: remove remaining users of gpiochip_remove() retval"
removed the use of the return value from gpiochip_remove()
but missed to delete the dangling "err" variable:

drivers/pinctrl/nomadik/pinctrl-abx500.c:
In function 'abx500_gpio_probe':
drivers/pinctrl/nomadik/pinctrl-abx500.c:1208:11:
warning: unused variable 'err' [-Wunused-variable]

Fix this by getting rid of the dangling variable.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/nomadik/pinctrl-abx500.c