aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/greybus/gpio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/greybus/gpio.c b/drivers/staging/greybus/gpio.c
index ea8234abf185..5e06e4229e42 100644
--- a/drivers/staging/greybus/gpio.c
+++ b/drivers/staging/greybus/gpio.c
@@ -561,9 +561,8 @@ static void gb_gpio_irqchip_remove(struct gb_gpio_controller *ggc)
irq_domain_remove(ggc->irqdomain);
}
- if (ggc->irqchip) {
+ if (ggc->irqchip)
ggc->irqchip = NULL;
- }
}
/**