powerpc: Remove virq_to_host

The only references to the irq_map[].host field are internal to
arch/powerpc/kernel/irq.c

Signed-off-by: Milton Miller <miltonm@bga.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
此提交包含在:
Milton Miller
2011-05-10 19:30:40 +00:00
提交者 Benjamin Herrenschmidt
父節點 3ee62d365b
當前提交 1e8c23013e
共有 2 個檔案被更改,包括 0 行新增7 行删除

查看文件

@@ -516,12 +516,6 @@ bool virq_is_host(unsigned int virq, struct irq_host *host)
}
EXPORT_SYMBOL_GPL(virq_is_host);
struct irq_host *virq_to_host(unsigned int virq)
{
return irq_map[virq].host;
}
EXPORT_SYMBOL_GPL(virq_to_host);
static int default_irq_host_match(struct irq_host *h, struct device_node *np)
{
return h->of_node != NULL && h->of_node == np;