Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1aceb80 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Linus Walleij
Browse files

gpio: remove unneeded initializer in gpiochip_add_to_list()



This variable is used as an iterator and initialized in the
list_for_each() loop.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent bb379ceb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -190,7 +190,7 @@ EXPORT_SYMBOL_GPL(gpiod_get_direction);
 */
static int gpiochip_add_to_list(struct gpio_chip *chip)
{
	struct list_head *pos = &gpio_chips;
	struct list_head *pos;
	struct gpio_chip *_chip;
	int err = 0;