]> git.karo-electronics.de Git - linux-beck.git/commitdiff
powerpc/cell: Drop unused iic_get_irq_host()
authorDaniel Axtens <dja@axtens.net>
Tue, 6 Sep 2016 05:32:39 +0000 (15:32 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 10 Sep 2016 08:46:45 +0000 (18:46 +1000)
Sparse checking revealed that it is no longer used. The last usage was
removed in commit 2e194583125b ("[POWERPC] Cell interrupt rework") in
2006.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/cell/interrupt.c

index 9f609fc8d331fc1579216a6283ee281d181fb0b9..4d16b368b6f58c6738933e1588ac90db043e7698 100644 (file)
@@ -187,12 +187,6 @@ void iic_message_pass(int cpu, int msg)
        out_be64(&per_cpu(cpu_iic, cpu).regs->generate, (0xf - msg) << 4);
 }
 
-struct irq_domain *iic_get_irq_host(int node)
-{
-       return iic_host;
-}
-EXPORT_SYMBOL_GPL(iic_get_irq_host);
-
 static void iic_request_ipi(int msg)
 {
        int virq;