Skip to content

Commit b87442b

Browse files
ndreysMarc Zyngier
authored andcommitted
irqchip/irq-imx-gpcv2: Remove unused code
Varaible 'reg' in imx_gpcv2_irq_set_wake() has no users. Remove it. Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: cphealy@gmail.com Cc: l.stach@pengutronix.de Cc: Leonard Crestez <leonard.crestez@nxp.com> Cc: "A.s. Dong" <aisheng.dong@nxp.com> Cc: Richard Zhu <hongxing.zhu@nxp.com> Cc: linux-imx@nxp.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
1 parent bf97328 commit b87442b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/irqchip/irq-imx-gpcv2.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,9 @@ static int imx_gpcv2_irq_set_wake(struct irq_data *d, unsigned int on)
7373
struct gpcv2_irqchip_data *cd = d->chip_data;
7474
unsigned int idx = d->hwirq / 32;
7575
unsigned long flags;
76-
void __iomem *reg;
7776
u32 mask, val;
7877

7978
raw_spin_lock_irqsave(&cd->rlock, flags);
80-
reg = cd->gpc_base + cd->cpu2wakeup + idx * 4;
8179
mask = 1 << d->hwirq % 32;
8280
val = cd->wakeup_sources[idx];
8381

0 commit comments

Comments
 (0)