Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit eee284f

Browse files
arndbMarc Zyngier
authored andcommitted
irqchip/clps711x: Remove unused clps711x_intc_init() function
This function has no caller or declaration any more: drivers/irqchip/irq-clps711x.c:215:13: error: no previous prototype for 'clps711x_intc_init' The #ifdef check around clps711x_intc_init_dt() is also not needed since the file is only built when that is enabled. Fixes: 4a56f46 ("ARM: clps711x: Remove boards support") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent f1771b8 commit eee284f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

drivers/irqchip/irq-clps711x.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -212,12 +212,6 @@ static int __init _clps711x_intc_init(struct device_node *np,
212212
return err;
213213
}
214214

215-
void __init clps711x_intc_init(phys_addr_t base, resource_size_t size)
216-
{
217-
BUG_ON(_clps711x_intc_init(NULL, base, size));
218-
}
219-
220-
#ifdef CONFIG_IRQCHIP
221215
static int __init clps711x_intc_init_dt(struct device_node *np,
222216
struct device_node *parent)
223217
{
@@ -231,4 +225,3 @@ static int __init clps711x_intc_init_dt(struct device_node *np,
231225
return _clps711x_intc_init(np, res.start, resource_size(&res));
232226
}
233227
IRQCHIP_DECLARE(clps711x, "cirrus,ep7209-intc", clps711x_intc_init_dt);
234-
#endif

0 commit comments

Comments
 (0)