summaryrefslogtreecommitdiff
path: root/drivers/iommu/irq_remapping.c
diff options
context:
space:
mode:
authorJiang Liu <jiang.liu@linux.intel.com>2015-04-13 09:11:50 +0300
committerThomas Gleixner <tglx@linutronix.de>2015-04-24 16:36:50 +0300
commit0cddfc79462423bf86cbe34560bad07f4a25ded6 (patch)
treed5df0d96e41393ecb3b7c827c50824f888b93245 /drivers/iommu/irq_remapping.c
parente390d895ae14ad655c6b830e62a22a81b69290ef (diff)
downloadlinux-0cddfc79462423bf86cbe34560bad07f4a25ded6.tar.xz
irq_remapping: Remove unused function irq_remapping_print_chip()
Now there's no user of irq_remapping_print_chip() anymore, so remove it. Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Cc: David Cohen <david.a.cohen@linux.intel.com> Cc: Sander Eikelenboom <linux@eikelenboom.it> Cc: David Vrabel <david.vrabel@citrix.com> Cc: Tony Luck <tony.luck@intel.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Joerg Roedel <jroedel@suse.de> Cc: iommu@lists.linux-foundation.org Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Rafael J. Wysocki <rjw@rjwysocki.net> Cc: Randy Dunlap <rdunlap@infradead.org> Cc: Yinghai Lu <yinghai@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Dimitri Sivanich <sivanich@sgi.com> Cc: Joerg Roedel <joro@8bytes.org> Link: http://lkml.kernel.org/r/1428905519-23704-29-git-send-email-jiang.liu@linux.intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/iommu/irq_remapping.c')
-rw-r--r--drivers/iommu/irq_remapping.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/iommu/irq_remapping.c b/drivers/iommu/irq_remapping.c
index 3eaa822c30a9..558c804dbe11 100644
--- a/drivers/iommu/irq_remapping.c
+++ b/drivers/iommu/irq_remapping.c
@@ -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);