diff options
author | Sinan Kaya <okaya@codeaurora.org> | 2016-04-17 13:36:55 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-05-05 01:10:32 +0200 |
commit | 1fcb6a813c4f67a0ba189b0d057b70ba084f6e1a (patch) | |
tree | f7d3e8bfc5a89151e15ada22ce00a09036c96739 /arch | |
parent | 5c5087a5539083305f1199f09ac2e7f14d855ff3 (diff) | |
download | linux-stable-1fcb6a813c4f67a0ba189b0d057b70ba084f6e1a.tar.gz linux-stable-1fcb6a813c4f67a0ba189b0d057b70ba084f6e1a.tar.bz2 linux-stable-1fcb6a813c4f67a0ba189b0d057b70ba084f6e1a.zip |
ACPI,PCI,IRQ: remove redundant code in acpi_irq_penalty_init()
acpi_irq_get_penalty is now calculating the penalty on the fly now.
No need to maintain global list of penalties or calculate them
at the init time. Removing duplicate code in acpi_irq_penalty_init.
Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/pci/acpi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c index 3cd69832d7f4..b2a4e2a61f6b 100644 --- a/arch/x86/pci/acpi.c +++ b/arch/x86/pci/acpi.c @@ -396,7 +396,6 @@ int __init pci_acpi_init(void) return -ENODEV; printk(KERN_INFO "PCI: Using ACPI for IRQ routing\n"); - acpi_irq_penalty_init(); pcibios_enable_irq = acpi_pci_irq_enable; pcibios_disable_irq = acpi_pci_irq_disable; x86_init.pci.init_irq = x86_init_noop; |