]> asedeno.scripts.mit.edu Git - linux.git/commit
gpiolib: remove unused variable
authorArnd Bergmann <arnd@arndb.de>
Tue, 30 May 2017 09:21:05 +0000 (11:21 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 31 May 2017 00:07:29 +0000 (02:07 +0200)
commit073570dcb5687f6dd0bbc541f68c03c08a57ec58
tree50071a4d933bd4e20faae679ea9aff00be391e1c
parentc1a4634013141b96324c647b45356e16f1fff781
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: 923a654c186c ("gpiolib: Re-use bitmap_fill() instead of open coded loop")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reported-by: Colin King <colin.king@canonical.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c