Skip to content

Commit f1db005

Browse files
bzolnierjgross1
authored andcommitted
xen: 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 f467c56 ("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 <[email protected]> Reviewed-by: Juergen Gross <[email protected]> Signed-off-by: Juergen Gross <[email protected]>
1 parent 3aa6c19 commit f1db005

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

drivers/xen/Kconfig

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ config XEN_BALLOON
1212
config XEN_SELFBALLOONING
1313
bool "Dynamically self-balloon kernel memory to target"
1414
depends on XEN && XEN_BALLOON && CLEANCACHE && SWAP && XEN_TMEM
15-
default n
1615
help
1716
Self-ballooning dynamically balloons available kernel memory driven
1817
by the current usage of anonymous memory ("committed AS") and
@@ -27,7 +26,6 @@ config XEN_SELFBALLOONING
2726

2827
config XEN_BALLOON_MEMORY_HOTPLUG
2928
bool "Memory hotplug support for Xen balloon driver"
30-
default n
3129
depends on XEN_BALLOON && MEMORY_HOTPLUG
3230
help
3331
Memory hotplug support for Xen balloon driver allows expanding memory
@@ -226,7 +224,6 @@ config XEN_PCIDEV_BACKEND
226224
config XEN_PVCALLS_FRONTEND
227225
tristate "XEN PV Calls frontend driver"
228226
depends on INET && XEN
229-
default n
230227
select XEN_XENBUS_FRONTEND
231228
help
232229
Experimental frontend for the Xen PV Calls protocol
@@ -237,7 +234,6 @@ config XEN_PVCALLS_FRONTEND
237234
config XEN_PVCALLS_BACKEND
238235
bool "XEN PV Calls backend driver"
239236
depends on INET && XEN && XEN_BACKEND
240-
default n
241237
help
242238
Experimental backend for the Xen PV Calls protocol
243239
(https://xenbits.xen.org/docs/unstable/misc/pvcalls.html). It
@@ -263,7 +259,6 @@ config XEN_PRIVCMD
263259
config XEN_STUB
264260
bool "Xen stub drivers"
265261
depends on XEN && X86_64 && BROKEN
266-
default n
267262
help
268263
Allow kernel to install stub drivers, to reserve space for Xen drivers,
269264
i.e. memory hotplug and cpu hotplug, and to block native drivers loaded,
@@ -274,7 +269,6 @@ config XEN_STUB
274269
config XEN_ACPI_HOTPLUG_MEMORY
275270
tristate "Xen ACPI memory hotplug"
276271
depends on XEN_DOM0 && XEN_STUB && ACPI
277-
default n
278272
help
279273
This is Xen ACPI memory hotplug.
280274

@@ -286,7 +280,6 @@ config XEN_ACPI_HOTPLUG_CPU
286280
tristate "Xen ACPI cpu hotplug"
287281
depends on XEN_DOM0 && XEN_STUB && ACPI
288282
select ACPI_CONTAINER
289-
default n
290283
help
291284
Xen ACPI cpu enumerating and hotplugging
292285

@@ -315,7 +308,6 @@ config XEN_ACPI_PROCESSOR
315308
config XEN_MCE_LOG
316309
bool "Xen platform mcelog"
317310
depends on XEN_DOM0 && X86_64 && X86_MCE
318-
default n
319311
help
320312
Allow kernel fetching MCE error from Xen platform and
321313
converting it into Linux mcelog format for mcelog tools

0 commit comments

Comments
 (0)