Re: [PATCH -next] gpio: Remove the unused flags
From: Linus Walleij
Date: Wed Jan 15 2020 - 05:25:30 EST
On Tue, Jan 14, 2020 at 2:38 PM Shaokun Zhang
<zhangshaokun@xxxxxxxxxxxxx> wrote:
> 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>
Patch applied with the ACKs!
Thanks!
Linus Walleij