mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-26 04:16:39 +00:00
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: 4a56f46a7d
("ARM: clps711x: Remove boards support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230516200516.554663-3-arnd@kernel.org
This commit is contained in:
parent
f1771b85e3
commit
eee284fe8f
1 changed files with 0 additions and 7 deletions
|
@ -212,12 +212,6 @@ static int __init _clps711x_intc_init(struct device_node *np,
|
|||
return err;
|
||||
}
|
||||
|
||||
void __init clps711x_intc_init(phys_addr_t base, resource_size_t size)
|
||||
{
|
||||
BUG_ON(_clps711x_intc_init(NULL, base, size));
|
||||
}
|
||||
|
||||
#ifdef CONFIG_IRQCHIP
|
||||
static int __init clps711x_intc_init_dt(struct device_node *np,
|
||||
struct device_node *parent)
|
||||
{
|
||||
|
@ -231,4 +225,3 @@ static int __init clps711x_intc_init_dt(struct device_node *np,
|
|||
return _clps711x_intc_init(np, res.start, resource_size(&res));
|
||||
}
|
||||
IRQCHIP_DECLARE(clps711x, "cirrus,ep7209-intc", clps711x_intc_init_dt);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue