aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/pci/acpi.c
diff options
context:
space:
mode:
authorLongji Guo <guolongji@uniontech.com>2021-12-03 16:07:58 +0800
committerBjorn Helgaas <bhelgaas@google.com>2022-01-11 11:05:35 -0600
commit346865f0745357f9f4704614ce1d9a8e6f27dbc4 (patch)
tree85593f17ae5832285312dcf648c0d486bbc4c80d /arch/x86/pci/acpi.c
parentPCI: Use DWORD accesses for LTR, L1 SS to avoid erratum (diff)
downloadlinux-dev-346865f0745357f9f4704614ce1d9a8e6f27dbc4.tar.xz
linux-dev-346865f0745357f9f4704614ce1d9a8e6f27dbc4.zip
x86/PCI: Remove initialization of static variables to false
Remove the initialization of pci_ignore_seg to false which is pointless. Link: https://lore.kernel.org/r/20211203080758.962-1-guolongji@uniontech.com Signed-off-by: Longji Guo <guolongji@uniontech.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/x86/pci/acpi.c')
-rw-r--r--arch/x86/pci/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c
index 948656069cdd..052f1d78a562 100644
--- a/arch/x86/pci/acpi.c
+++ b/arch/x86/pci/acpi.c
@@ -20,7 +20,7 @@ struct pci_root_info {
};
static bool pci_use_crs = true;
-static bool pci_ignore_seg = false;
+static bool pci_ignore_seg;
static int __init set_use_crs(const struct dmi_system_id *id)
{