ARM: 7074/1: gpio: davinci: eliminate unused variable warnings
authorAxel Lin <axel.lin@gmail.com>
Mon, 5 Sep 2011 02:29:04 +0000 (03:29 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 5 Sep 2011 10:26:34 +0000 (11:26 +0100)
commit526a0dc771a5cac3224e26abd1f018976b967516
tree70dcc181ec6d644ec9d41b483cf6037dda4fd1c8
parent058b96d445a05eac71be5e6b5b5db34412b4b175
ARM: 7074/1: gpio: davinci: eliminate unused variable warnings

Since commit 5093aec872e5be7a55d8dd2b639e8a3818dc19db
"arm: davinci: Cleanup irq chip code", the variable 'mask' and 'g'
are not being used.

This patch eliminate below unused variable warnings:

  CC      drivers/gpio/gpio-davinci.o
drivers/gpio/gpio-davinci.c: In function 'gpio_irq_type':
drivers/gpio/gpio-davinci.c:234: warning: unused variable 'mask'
drivers/gpio/gpio-davinci.c:233: warning: unused variable 'g'

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/gpio/gpio-davinci.c