Skip to content

Commit

Permalink
pinctrl: armada-37xx: remove unused variable
Browse files Browse the repository at this point in the history
A cleanup left behind a temporary variable that is now unused:

drivers/pinctrl/mvebu/pinctrl-armada-37xx.c: In function 'armada_37xx_irq_startup':
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c:693:20: error: unused variable 'chip' [-Werror=unused-variable]

This removes the declarations as well.

Fixes: 3ee9e60 ("pinctrl: armada-37xx: Stop using struct gpio_chip.irq_base")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Arnd Bergmann authored and Linus Walleij committed Nov 3, 2017
1 parent eb32889 commit b53b830
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -626,8 +626,6 @@ static void armada_37xx_irq_handler(struct irq_desc *desc)

static unsigned int armada_37xx_irq_startup(struct irq_data *d)
{
struct gpio_chip *chip = irq_data_get_irq_chip_data(d);

/*
* The mask field is a "precomputed bitmask for accessing the
* chip registers" which was introduced for the generic
Expand Down

0 comments on commit b53b830

Please sign in to comment.