mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
gpiolib: remove unused variable
This was left behind by a cleanup patch:
drivers/gpio/gpiolib.c: In function 'gpiochip_irqchip_init_valid_mask':
drivers/gpio/gpiolib.c:1474:6: error: unused variable 'i' [-Werror=unused-variable]
Fixes: 923a654c18 ("gpiolib: Re-use bitmap_fill() instead of open coded loop")
Reported-by: kbuild test robot <[email protected]>
Reported-by: Stephen Rothwell <[email protected]>
Reported-by: Colin King <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
c1a4634013
commit
073570dcb5
1 changed files with 0 additions and 2 deletions
|
|
@ -1471,8 +1471,6 @@ static struct gpio_chip *find_chip_by_name(const char *name)
|
|||
|
||||
static int gpiochip_irqchip_init_valid_mask(struct gpio_chip *gpiochip)
|
||||
{
|
||||
int i;
|
||||
|
||||
if (!gpiochip->irq_need_valid_mask)
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue