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>
This commit is contained in:
parent
ed7936f913
commit
2473de06b0
1 changed files with 0 additions and 4 deletions
|
@ -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))
|
void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int))
|
||||||
{
|
{
|
||||||
struct device_node *node;
|
struct device_node *node;
|
||||||
const struct of_device_id *of_id;
|
|
||||||
struct pxa_intc_conf *conf;
|
|
||||||
struct resource res;
|
struct resource res;
|
||||||
int n, ret;
|
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");
|
pr_err("Failed to find interrupt controller in arch-pxa\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
of_id = of_match_node(intc_ids, node);
|
|
||||||
conf = of_id->data;
|
|
||||||
|
|
||||||
ret = of_property_read_u32(node, "marvell,intc-nr-irqs",
|
ret = of_property_read_u32(node, "marvell,intc-nr-irqs",
|
||||||
&pxa_internal_irq_nr);
|
&pxa_internal_irq_nr);
|
||||||
|
|
Loading…
Add table
Reference in a new issue