Am Mittwoch, den 05.12.2018, 23:31 -0800 schrieb Andrey Smirnov: > Varaible 'reg' in imx_gpcv2_irq_set_wake() has no users. Remove it. > > > Cc: Thomas Gleixner <[email protected]> > > Cc: Jason Cooper <[email protected]> > > Cc: Marc Zyngier <[email protected]> > Cc: [email protected] > Cc: [email protected] > > Cc: Leonard Crestez <[email protected]> > > Cc: "A.s. Dong" <[email protected]> > > Cc: Richard Zhu <[email protected]> > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Signed-off-by: Andrey Smirnov <[email protected]>
Reviewed-by: Lucas Stach <[email protected]> > --- > drivers/irqchip/irq-imx-gpcv2.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/irqchip/irq-imx-gpcv2.c b/drivers/irqchip/irq-imx-gpcv2.c > index 4760307ab43f..cbed00319315 100644 > --- a/drivers/irqchip/irq-imx-gpcv2.c > +++ b/drivers/irqchip/irq-imx-gpcv2.c > @@ -73,11 +73,9 @@ static int imx_gpcv2_irq_set_wake(struct irq_data *d, > unsigned int on) > > struct gpcv2_irqchip_data *cd = d->chip_data; > > unsigned int idx = d->hwirq / 32; > > unsigned long flags; > > - void __iomem *reg; > > u32 mask, val; > > > raw_spin_lock_irqsave(&cd->rlock, flags); > > - reg = cd->gpc_base + cd->cpu2wakeup + idx * 4; > > mask = 1 << d->hwirq % 32; > > val = cd->wakeup_sources[idx]; >

