aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/plat-mxc/gpio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/gpio.c b/arch/arm/plat-mxc/gpio.c
index 0b11554dadac..70b23893f094 100644
--- a/arch/arm/plat-mxc/gpio.c
+++ b/arch/arm/plat-mxc/gpio.c
@@ -162,8 +162,6 @@ static void mxc_gpio_irq_handler(struct mxc_gpio_port *port, u32 irq_stat)
162 while (irq_stat != 0) { 162 while (irq_stat != 0) {
163 int irqoffset = fls(irq_stat) - 1; 163 int irqoffset = fls(irq_stat) - 1;
164 164
165 BUG_ON(!(irq_desc[gpio_irq_no_base + irqoffset].handle_irq));
166
167 if (port->both_edges & (1 << irqoffset)) 165 if (port->both_edges & (1 << irqoffset))
168 mxc_flip_edge(port, irqoffset); 166 mxc_flip_edge(port, irqoffset);
169 167