projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4353594
)
x86/PCI: Remove initialization of static variables to false
author
Longji Guo
<guolongji@uniontech.com>
Fri, 3 Dec 2021 08:07:58 +0000
(16:07 +0800)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Tue, 11 Jan 2022 17:05:35 +0000
(11:05 -0600)
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>
arch/x86/pci/acpi.c
patch
|
blob
|
history
diff --git
a/arch/x86/pci/acpi.c
b/arch/x86/pci/acpi.c
index
9486560
..
052f1d7
100644
(file)
--- 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)
{