summaryrefslogtreecommitdiff
path: root/drivers/acpi/pci_link.c
diff options
context:
space:
mode:
authorJiang Liu <jiang.liu@linux.intel.com>2015-09-17 09:02:46 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-09-26 02:53:07 +0300
commitd323efc786910bcc0c8f8b9f97780c70544ac4df (patch)
tree10537319057b7a5f8c3877b1b47d0c778f8f9f28 /drivers/acpi/pci_link.c
parent5ebc76035303016ec41bb752bec156ea9fde7c34 (diff)
downloadlinux-d323efc786910bcc0c8f8b9f97780c70544ac4df.tar.xz
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 <jiang.liu@linux.intel.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/pci_link.c')
-rw-r--r--drivers/acpi/pci_link.c3
1 files changed, 1 insertions, 2 deletions
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;
}