From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966783AbbDXQCh (ORCPT ); Fri, 24 Apr 2015 12:02:37 -0400 Received: from terminus.zytor.com ([198.137.202.10]:45034 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966668AbbDXQCc (ORCPT ); Fri, 24 Apr 2015 12:02:32 -0400 Date: Fri, 24 Apr 2015 08:51:31 -0700 From: tip-bot for Jiang Liu Message-ID: Cc: jroedel@suse.de, hpa@zytor.com, rjw@rjwysocki.net, david.a.cohen@linux.intel.com, linux@eikelenboom.it, yinghai@kernel.org, rdunlap@infradead.org, gregkh@linuxfoundation.org, tony.luck@intel.com, bp@alien8.de, sivanich@sgi.com, tglx@linutronix.de, bhelgaas@google.com, mingo@kernel.org, joro@8bytes.org, konrad.wilk@oracle.com, benh@kernel.crashing.org, david.vrabel@citrix.com, linux-kernel@vger.kernel.org, jiang.liu@linux.intel.com Reply-To: mingo@kernel.org, bhelgaas@google.com, tglx@linutronix.de, sivanich@sgi.com, jiang.liu@linux.intel.com, linux-kernel@vger.kernel.org, david.vrabel@citrix.com, benh@kernel.crashing.org, joro@8bytes.org, konrad.wilk@oracle.com, tony.luck@intel.com, gregkh@linuxfoundation.org, rdunlap@infradead.org, yinghai@kernel.org, bp@alien8.de, david.a.cohen@linux.intel.com, linux@eikelenboom.it, hpa@zytor.com, jroedel@suse.de, rjw@rjwysocki.net In-Reply-To: <1428905519-23704-29-git-send-email-jiang.liu@linux.intel.com> References: <1428905519-23704-29-git-send-email-jiang.liu@linux.intel.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/apic] irq_remapping: Remove unused function irq_remapping_print_chip() Git-Commit-ID: 0cddfc79462423bf86cbe34560bad07f4a25ded6 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 0cddfc79462423bf86cbe34560bad07f4a25ded6 Gitweb: http://git.kernel.org/tip/0cddfc79462423bf86cbe34560bad07f4a25ded6 Author: Jiang Liu AuthorDate: Mon, 13 Apr 2015 14:11:50 +0800 Committer: Thomas Gleixner CommitDate: Fri, 24 Apr 2015 15:36:50 +0200 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 Cc: Konrad Rzeszutek Wilk Cc: David Cohen Cc: Sander Eikelenboom Cc: David Vrabel Cc: Tony Luck Cc: Greg Kroah-Hartman Cc: Joerg Roedel Cc: iommu@lists.linux-foundation.org Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Rafael J. Wysocki Cc: Randy Dunlap Cc: Yinghai Lu Cc: Borislav Petkov Cc: Dimitri Sivanich Cc: Joerg Roedel Link: http://lkml.kernel.org/r/1428905519-23704-29-git-send-email-jiang.liu@linux.intel.com Signed-off-by: Thomas Gleixner --- arch/x86/include/asm/irq_remapping.h | 2 -- drivers/iommu/irq_remapping.c | 13 ------------- 2 files changed, 15 deletions(-) diff --git a/arch/x86/include/asm/irq_remapping.h b/arch/x86/include/asm/irq_remapping.h index bacac10..52e1a1f 100644 --- a/arch/x86/include/asm/irq_remapping.h +++ b/arch/x86/include/asm/irq_remapping.h @@ -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 */ diff --git a/drivers/iommu/irq_remapping.c b/drivers/iommu/irq_remapping.c index 3eaa822..558c804 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);