ARM: 6177/1: nomadik-gpio: fix "ignoring return value" warning
authorRabin Vincent <rabin.vincent@stericsson.com>
Wed, 16 Jun 2010 05:12:13 +0000 (06:12 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 16 Jun 2010 21:29:01 +0000 (22:29 +0100)
commitf6aa01c2b8950a29503e93fc8b91f0d64f440c34
treebbfe0368561fef00570e65c42914682531fdc70e
parent0d2aec9cd356254649fa2aa6bb5fb4d20cfded2c
ARM: 6177/1: nomadik-gpio: fix "ignoring return value" warning

arch/arm/plat-nomadik/gpio.c: In function 'nmk_gpio_remove':
arch/arm/plat-nomadik/gpio.c:630: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result

Because this function is marked __exit and this code can't be built as a
module, this function is never used.  So just remove it, fixing the
warning in the process.

Acked-by: Alessandro Rubini <rubini@unipv.it>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/plat-nomadik/gpio.c