irq_remapping: Remove unused function irq_remapping_print_chip()
authorJiang Liu <[email protected]>
Mon, 13 Apr 2015 06:11:50 +0000 (14:11 +0800)
committerThomas Gleixner <[email protected]>
Fri, 24 Apr 2015 13:36:50 +0000 (15:36 +0200)
Now there's no user of irq_remapping_print_chip() anymore, so remove it.

Signed-off-by: Jiang Liu <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: David Cohen <[email protected]>
Cc: Sander Eikelenboom <[email protected]>
Cc: David Vrabel <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Joerg Roedel <[email protected]>
Cc: [email protected]
Cc: Bjorn Helgaas <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Rafael J. Wysocki <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: Yinghai Lu <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dimitri Sivanich <[email protected]>
Cc: Joerg Roedel <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
arch/x86/include/asm/irq_remapping.h
drivers/iommu/irq_remapping.c

index bacac10522622b041d3bbdaad939ef5f8b709721..52e1a1f337b228190cb2eb3f76e4d12041c390ce 100644 (file)
@@ -59,7 +59,6 @@ extern struct irq_domain *
 irq_remapping_get_ir_irq_domain(struct irq_alloc_info *info);
 extern struct irq_domain *
 irq_remapping_get_irq_domain(struct irq_alloc_info *info);
-extern void irq_remapping_print_chip(struct irq_data *data, struct seq_file *p);
 
 /* Create PCI MSI/MSIx irqdomain, use @parent as the parent irqdomain. */
 extern struct irq_domain *arch_create_msi_irq_domain(struct irq_domain *parent);
@@ -115,6 +114,5 @@ irq_remapping_get_irq_domain(struct irq_alloc_info *info)
        return NULL;
 }
 
-#define        irq_remapping_print_chip        NULL
 #endif /* CONFIG_IRQ_REMAP */
 #endif /* __X86_IRQ_REMAPPING_H */
index 3eaa822c30a95f21df8a92fb0eb1355470c1dce5..558c804dbe11e42edb081b7358b46cfdb00daa3a 100644 (file)
@@ -204,19 +204,6 @@ static void ir_ack_apic_level(struct irq_data *data)
        eoi_ioapic_irq(data->irq, irqd_cfg(data));
 }
 
-void irq_remapping_print_chip(struct irq_data *data, struct seq_file *p)
-{
-       /*
-        * Assume interrupt is remapped if the parent irqdomain isn't the
-        * vector domain, which is true for MSI, HPET and IOAPIC on x86
-        * platforms.
-        */
-       if (data->domain && data->domain->parent != arch_get_ir_parent_domain())
-               seq_printf(p, " IR-%s", data->chip->name);
-       else
-               seq_printf(p, " %s", data->chip->name);
-}
-
 static void ir_print_prefix(struct irq_data *data, struct seq_file *p)
 {
        seq_printf(p, " IR-%s", data->chip->name);