From: Rabin Vincent Date: Wed, 16 Jun 2010 05:12:13 +0000 (+0100) Subject: ARM: 6177/1: nomadik-gpio: fix "ignoring return value" warning X-Git-Tag: v2.6.36-rc1~591^2~2^7~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6aa01c2b8950a29503e93fc8b91f0d64f440c34;p=pandora-kernel.git 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 Acked-by: Linus Walleij Signed-off-by: Rabin Vincent Signed-off-by: Russell King --- Reading git-diff-tree failed