mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
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>
This commit is contained in:
parent
92b09095b6
commit
3da597dbde
1 changed files with 0 additions and 3 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue