From: Jiang Liu Date: Thu, 17 Sep 2015 06:02:46 +0000 (+0800) Subject: ACPI / PCI: Remove duplicated penalty on SCI IRQ X-Git-Tag: MMI-PSA29.97-13-9~9287^2~2^3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d323efc786910bcc0c8f8b9f97780c70544ac4df;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ACPI / PCI: Remove duplicated penalty on SCI IRQ Now we have dedicated interface acpi_penalize_sci_irq() to penalize ISA IRQ used by ACPI SCI, so remove duplicated code to penalize ACPI SCI in acpi_irq_penalty_init(). Signed-off-by: Jiang Liu Acked-by: Bjorn Helgaas Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/acpi/pci_link.c b/drivers/acpi/pci_link.c index 246e50d22120..7c8408b946ca 100644 --- a/drivers/acpi/pci_link.c +++ b/drivers/acpi/pci_link.c @@ -498,8 +498,7 @@ int __init acpi_irq_penalty_init(void) PIRQ_PENALTY_PCI_POSSIBLE; } } - /* Add a penalty for the SCI */ - acpi_irq_penalty[acpi_gbl_FADT.sci_interrupt] += PIRQ_PENALTY_PCI_USING; + return 0; }