diff options
author | Thierry Reding <thierry.reding@gmail.com> | 2013-12-04 11:22:45 +0100 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-12-12 02:33:01 +0100 |
commit | 2473de06b070bdd6c711bac138572ec806d5c53d (patch) | |
tree | f5422ef64e82b7b944920e422c660e52cc7b9318 /arch/arm/mach-pxa/irq.c | |
parent | ARM: pxa: remove IRQF_DISABLED (diff) | |
download | linux-2473de06b070bdd6c711bac138572ec806d5c53d.tar.xz linux-2473de06b070bdd6c711bac138572ec806d5c53d.zip |
ARM: pxa: Remove unused variables
The conf and of_id variables are assigned but never used, so they may as
well just be removed.
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Acked-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-pxa/irq.c')
-rw-r--r-- | arch/arm/mach-pxa/irq.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach-pxa/irq.c index b6cc1816463e..0eecd83c624e 100644 --- a/arch/arm/mach-pxa/irq.c +++ b/arch/arm/mach-pxa/irq.c @@ -235,8 +235,6 @@ static const struct of_device_id intc_ids[] __initconst = { void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int)) { struct device_node *node; - const struct of_device_id *of_id; - struct pxa_intc_conf *conf; struct resource res; int n, ret; @@ -245,8 +243,6 @@ void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int)) pr_err("Failed to find interrupt controller in arch-pxa\n"); return; } - of_id = of_match_node(intc_ids, node); - conf = of_id->data; ret = of_property_read_u32(node, "marvell,intc-nr-irqs", &pxa_internal_irq_nr); |