diff options
-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 = { | |||
235 | void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int)) | 235 | void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int)) |
236 | { | 236 | { |
237 | struct device_node *node; | 237 | struct device_node *node; |
238 | const struct of_device_id *of_id; | ||
239 | struct pxa_intc_conf *conf; | ||
240 | struct resource res; | 238 | struct resource res; |
241 | int n, ret; | 239 | int n, ret; |
242 | 240 | ||
@@ -245,8 +243,6 @@ void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int)) | |||
245 | pr_err("Failed to find interrupt controller in arch-pxa\n"); | 243 | pr_err("Failed to find interrupt controller in arch-pxa\n"); |
246 | return; | 244 | return; |
247 | } | 245 | } |
248 | of_id = of_match_node(intc_ids, node); | ||
249 | conf = of_id->data; | ||
250 | 246 | ||
251 | ret = of_property_read_u32(node, "marvell,intc-nr-irqs", | 247 | ret = of_property_read_u32(node, "marvell,intc-nr-irqs", |
252 | &pxa_internal_irq_nr); | 248 | &pxa_internal_irq_nr); |