aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2018-10-18 15:05:29 -0400
committerBjorn Helgaas <bhelgaas@google.com>2018-10-18 15:05:29 -0400
commitfe73c23d7a094f391dd358358f7dc358d430e7e1 (patch)
tree005500bdae682f81cd94ab94c232cd4ce6d850bc
parentfb513f60ea58f096be7006f899e2181762af37cb (diff)
PCI: pcie: Remove redundant 'default n' from Kconfig
'default n' is the default value for any bool or tristate Kconfig setting so there is no need to write it explicitly. Also since commit f467c5640c29 ("kconfig: only write '# CONFIG_FOO is not set' for visible symbols") the Kconfig behavior is the same regardless of 'default n' being present or not: ... One side effect of (and the main motivation for) this change is making the following two definitions behave exactly the same: config FOO bool config FOO bool default n With this change, neither of these will generate a '# CONFIG_FOO is not set' line (assuming FOO isn't selected/implied). That might make it clearer to people that a bare 'default n' is redundant. ... Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r--drivers/pci/pcie/Kconfig4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/pci/pcie/Kconfig b/drivers/pci/pcie/Kconfig
index 0a1e9d379bc5..44742b2e1126 100644
--- a/drivers/pci/pcie/Kconfig
+++ b/drivers/pci/pcie/Kconfig
@@ -36,7 +36,6 @@ config PCIEAER
36config PCIEAER_INJECT 36config PCIEAER_INJECT
37 tristate "PCI Express error injection support" 37 tristate "PCI Express error injection support"
38 depends on PCIEAER 38 depends on PCIEAER
39 default n
40 help 39 help
41 This enables PCI Express Root Port Advanced Error Reporting 40 This enables PCI Express Root Port Advanced Error Reporting
42 (AER) software error injector. 41 (AER) software error injector.
@@ -84,7 +83,6 @@ config PCIEASPM
84config PCIEASPM_DEBUG 83config PCIEASPM_DEBUG
85 bool "Debug PCI Express ASPM" 84 bool "Debug PCI Express ASPM"
86 depends on PCIEASPM 85 depends on PCIEASPM
87 default n
88 help 86 help
89 This enables PCI Express ASPM debug support. It will add per-device 87 This enables PCI Express ASPM debug support. It will add per-device
90 interface to control ASPM. 88 interface to control ASPM.
@@ -129,7 +127,6 @@ config PCIE_PME
129config PCIE_DPC 127config PCIE_DPC
130 bool "PCI Express Downstream Port Containment support" 128 bool "PCI Express Downstream Port Containment support"
131 depends on PCIEPORTBUS && PCIEAER 129 depends on PCIEPORTBUS && PCIEAER
132 default n
133 help 130 help
134 This enables PCI Express Downstream Port Containment (DPC) 131 This enables PCI Express Downstream Port Containment (DPC)
135 driver support. DPC events from Root and Downstream ports 132 driver support. DPC events from Root and Downstream ports
@@ -139,7 +136,6 @@ config PCIE_DPC
139 136
140config PCIE_PTM 137config PCIE_PTM
141 bool "PCI Express Precision Time Measurement support" 138 bool "PCI Express Precision Time Measurement support"
142 default n
143 depends on PCIEPORTBUS 139 depends on PCIEPORTBUS
144 help 140 help
145 This enables PCI Express Precision Time Measurement (PTM) 141 This enables PCI Express Precision Time Measurement (PTM)