linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/5] powerpc/cell: drop unused iic_get_irq_host()
@ 2016-09-06  5:32 Daniel Axtens
  2016-09-06  5:32 ` [PATCH v2 2/5] powerpc/sparse: Make a bunch of things static Daniel Axtens
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: Daniel Axtens @ 2016-09-06  5:32 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Daniel Axtens

Sparse checking revealed that it is no longer used.
There is an EXPORT_SYMBOL_GPL, but there's no header that
provides a prototype, so nothing should be using it anyway.

Remove it.

Signed-off-by: Daniel Axtens <dja@axtens.net>
---
 arch/powerpc/platforms/cell/interrupt.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/powerpc/platforms/cell/interrupt.c b/arch/powerpc/platforms/cell/interrupt.c
index 9f609fc8d331..4d16b368b6f5 100644
--- a/arch/powerpc/platforms/cell/interrupt.c
+++ b/arch/powerpc/platforms/cell/interrupt.c
@@ -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;
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2016-09-14  0:11 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-06  5:32 [PATCH v2 1/5] powerpc/cell: drop unused iic_get_irq_host() Daniel Axtens
2016-09-06  5:32 ` [PATCH v2 2/5] powerpc/sparse: Make a bunch of things static Daniel Axtens
2016-09-13 12:16   ` [v2,2/5] " Michael Ellerman
2016-09-14  0:11   ` [PATCH v2 2/5] " Michael Ellerman
2016-09-06  5:32 ` [PATCH v2 3/5] powerpc/kvm: sparse: prototypes for functions called from assembler Daniel Axtens
2016-09-06  5:32 ` [PATCH v2 4/5] powerpc/fadump: Make ELF eflags depend on endian Daniel Axtens
2016-09-08  7:00   ` Mahesh Jagannath Salgaonkar
2016-09-08  8:21     ` Mahesh Jagannath Salgaonkar
2016-09-09 10:58       ` Michael Ellerman
2016-09-08  9:17     ` Michael Ellerman
2016-09-08  9:35     ` Michael Ellerman
2016-09-13 12:16   ` [v2,4/5] " Michael Ellerman
2016-09-06  5:32 ` [PATCH v2 5/5] powerpc/sparse: Add more assembler prototypes Daniel Axtens
2016-09-13 12:16   ` [v2,5/5] " Michael Ellerman
2016-09-06  6:01 ` [PATCH v2 1/5] powerpc/cell: drop unused iic_get_irq_host() Andrew Donnellan
2016-09-08  7:44 ` Arnd Bergmann
2016-09-09  0:43   ` Daniel Axtens
2016-09-09  1:14     ` Andrew Donnellan
2016-09-09  7:42     ` Arnd Bergmann
2016-09-13 12:16 ` [v2,1/5] " Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).