Re: [PATCH -next] gpio: Remove the unused flags
From: Bartosz Golaszewski
Date: Tue Jan 14 2020 - 09:10:23 EST
wt., 14 sty 2020 o 14:38 Shaokun Zhang <zhangshaokun@xxxxxxxxxxxxx> napisaÅ(a):
>
> drivers/gpio/gpio-grgpio.c: In function âgrgpio_removeâ:
> drivers/gpio/gpio-grgpio.c:438:16: warning: unused variable âflagsâ [-Wunused-variable]
> unsigned long flags;
> ^
> Fixes: 25d071b3f6db ("gpio: gpio-grgpio: fix possible sleep-in-atomic-context bugs in grgpio_remove()")
> Cc: Jia-Ju Bai <baijiaju1990@xxxxxxxxx>
> Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Cc: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
> Signed-off-by: Shaokun Zhang <zhangshaokun@xxxxxxxxxxxxx>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>