From 0bdce0751b789dea287f30fce272215a4dcd0ed2 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Tue, 19 Jan 2016 21:32:32 -0700 Subject: dm: x86: Drop the weak cpu_irq_init() function There are no callers now. Platforms which need to set up interrupts their own way can implement an interrupt driver. Drop this function. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- arch/x86/cpu/irq.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'arch/x86/cpu') diff --git a/arch/x86/cpu/irq.c b/arch/x86/cpu/irq.c index d6151e0..0b36ace 100644 --- a/arch/x86/cpu/irq.c +++ b/arch/x86/cpu/irq.c @@ -83,11 +83,6 @@ static inline void fill_irq_info(struct irq_info *slot, int bus, int device, slot->irq[pin - 1].bitmap = irq_router.irq_mask; } -__weak void cpu_irq_init(void) -{ - return; -} - static int create_pirq_routing_table(struct udevice *dev) { const void *blob = gd->fdt_blob; @@ -227,8 +222,6 @@ int irq_router_common_init(struct udevice *dev) { int ret; - cpu_irq_init(); - ret = create_pirq_routing_table(dev); if (ret) { debug("Failed to create pirq routing table\n"); -- cgit v1.1