Skip to content

Commit 9a2b5b3

Browse files
zhangshklinusw
authored andcommitted
gpio: Remove the unused flags
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: 25d071b ("gpio: gpio-grgpio: fix possible sleep-in-atomic-context bugs in grgpio_remove()") Signed-off-by: Shaokun Zhang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Bartosz Golaszewski <[email protected] Reviewed-by: Jia-Ju Bai <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent c34f6dc commit 9a2b5b3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/gpio/gpio-grgpio.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,6 @@ static int grgpio_probe(struct platform_device *ofdev)
435435
static int grgpio_remove(struct platform_device *ofdev)
436436
{
437437
struct grgpio_priv *priv = platform_get_drvdata(ofdev);
438-
unsigned long flags;
439438
int i;
440439
int ret = 0;
441440

0 commit comments

Comments
 (0)