Commit 77c858fa authored by Ladislav Michl's avatar Ladislav Michl Committed by Thomas Gleixner

irqchip/irq-omap-intc: Do not statically initialize variables

omap_nr_pending and omap_nr_irqs variables are initialized
right at the beginning of intc_of_init function, so there's
no need to statically initialize them.
Signed-off-by: Ladislav Michl's avatarLadislav Michl <>
Signed-off-by: default avatarThomas Gleixner <>
Cc: Marc Zyngier <>
Cc: Tony Lindgren <>
Cc: Jason Cooper <>
parent 62518c02
......@@ -66,8 +66,8 @@ static struct omap_intc_regs intc_context;
static struct irq_domain *domain;
static void __iomem *omap_irq_base;
static int omap_nr_pending = 3;
static int omap_nr_irqs = 96;
static int omap_nr_pending;
static int omap_nr_irqs;
static void intc_writel(u32 reg, u32 val)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment