aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAnatolij Gustschin2011-12-07 11:47:47 +0000
committerWolfgang Denk2011-12-09 10:54:38 +0100
commit3da597dbde3c5853d9cc8af1ba384c0fb79e8140 (patch)
treee259ac523aff10411fa4fd10ee01e8be2f71dd4e /drivers
parent92b09095b6ba359a9fe3e398baa28e02c9878c47 (diff)
drivers/gpio/da8xx_gpio.c: Fix build warning
Fix: da8xx_gpio.c: In function 'gpio_toggle_value': da8xx_gpio.c:208:23: warning: variable 'bank' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpio/da8xx_gpio.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpio/da8xx_gpio.c b/drivers/gpio/da8xx_gpio.c
index 7a1561429d8..74b58e889f2 100644
--- a/drivers/gpio/da8xx_gpio.c
+++ b/drivers/gpio/da8xx_gpio.c
@@ -205,9 +205,6 @@ void gpio_free(int gp)
void gpio_toggle_value(int gp)
{
- struct davinci_gpio *bank;
-
- bank = GPIO_BANK(gp);
gpio_set_value(gp, !gpio_get_value(gp));
}