summaryrefslogtreecommitdiff
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
parent4353594eb0980c80e24ebb20d9c871ff95b3b789 (diff)
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>
-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)
{