[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] xen/Kconfig: Drop redundant comments from Kconfig files



commit 563a160b3ae9baf10224b82448689ec12bb51e87
Author:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
AuthorDate: Thu Aug 18 13:14:05 2016 +0100
Commit:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Thu Sep 1 10:56:00 2016 +0100

    xen/Kconfig: Drop redundant comments from Kconfig files
    
    Most of the comments are duplicated from the help text, and those without 
help
    provide no useful additional input.
    
    Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
    Acked-by: Julien Grall <julien.grall@xxxxxxx>
    Reviewed-by: Doug Goldstein <cardoe@xxxxxxxxxx>
---
 xen/arch/arm/Kconfig            |  3 ---
 xen/common/Kconfig              | 14 --------------
 xen/drivers/acpi/Kconfig        |  1 -
 xen/drivers/char/Kconfig        |  7 -------
 xen/drivers/cpufreq/Kconfig     |  1 -
 xen/drivers/passthrough/Kconfig |  1 -
 xen/drivers/pci/Kconfig         |  1 -
 xen/drivers/video/Kconfig       |  3 ---
 8 files changed, 31 deletions(-)

diff --git a/xen/arch/arm/Kconfig b/xen/arch/arm/Kconfig
index 871c243..797c91f 100644
--- a/xen/arch/arm/Kconfig
+++ b/xen/arch/arm/Kconfig
@@ -1,4 +1,3 @@
-# Select 32 or 64 bit
 config 64BIT
        bool
        default ARCH != "arm32"
@@ -43,11 +42,9 @@ config ACPI
          Advanced Configuration and Power Interface (ACPI) support for Xen is
          an alternative to device tree on ARM64.
 
-# Select HAS_GICV3 if GICv3 is supported
 config HAS_GICV3
        bool
 
-# Select ALTERNATIVE if the architecture supports runtime patching
 config ALTERNATIVE
        bool
 
diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index befa30e..b2d3d61 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -11,31 +11,24 @@ config COMPAT
 config CORE_PARKING
        bool
 
-# Select HAS_DEVICE_TREE if device tree is supported
 config HAS_DEVICE_TREE
        bool
 
-# Select HAS_MEM_ACCESS if mem access is supported
 config HAS_MEM_ACCESS
        bool
 
-# Select HAS_MEM_PAGING if mem paging is supported
 config HAS_MEM_PAGING
        bool
 
-# Select HAS_MEM_SHARING if mem sharing is supported
 config HAS_MEM_SHARING
        bool
 
-# Select HAS_PDX if PDX is supported
 config HAS_PDX
        bool
 
-# Select HAS_KEXEC if kexec is supported
 config HAS_KEXEC
        bool
 
-# Select HAS_GDBSX if GDBSX is supported
 config HAS_GDBSX
        bool
 
@@ -50,7 +43,6 @@ config HAS_CHECKPOLICY
        string
        option env="XEN_HAS_CHECKPOLICY"
 
-# Enable/Disable kexec support
 config KEXEC
        bool "kexec support"
        default y
@@ -62,7 +54,6 @@ config KEXEC
 
          If unsure, say Y.
 
-# Allows "late" initialization of the hardware domain
 config LATE_HWDOM
        bool "dedicated hardware domain"
        default n
@@ -83,7 +74,6 @@ config LATE_HWDOM
 
          If unsure, say N.
 
-# Enables transcendent memory support
 config TMEM
        def_bool y
        prompt "Transcendent Memory Support" if EXPERT = "y"
@@ -97,7 +87,6 @@ config TMEM
 
          If unsure, say Y.
 
-# Adds support for Xenoprof
 config XENOPROF
        def_bool y
        prompt "Xen Oprofile Support" if EXPERT = "y"
@@ -110,7 +99,6 @@ config XENOPROF
 
          If unsure, say Y.
 
-# Enable/Disable XSM support
 config XSM
        bool "Xen Security Modules support"
        default n
@@ -163,7 +151,6 @@ config XSM_POLICY
 
          If unsure, say Y.
 
-# Enable schedulers
 menu "Schedulers"
        visible if EXPERT = "y"
 
@@ -221,7 +208,6 @@ endmenu
 config CRYPTO
        bool
 
-# Enable/Disable live patching support
 config LIVEPATCH
        bool "Live patching support (TECH PREVIEW)"
        default n
diff --git a/xen/drivers/acpi/Kconfig b/xen/drivers/acpi/Kconfig
index 1074dbf..b64d373 100644
--- a/xen/drivers/acpi/Kconfig
+++ b/xen/drivers/acpi/Kconfig
@@ -1,5 +1,4 @@
 
-# Select ACPI if ACPI is supported
 config ACPI
        bool
 
diff --git a/xen/drivers/char/Kconfig b/xen/drivers/char/Kconfig
index 08973cf..51343d0 100644
--- a/xen/drivers/char/Kconfig
+++ b/xen/drivers/char/Kconfig
@@ -1,11 +1,9 @@
-#  16550-series UART support
 config HAS_NS16550
        bool
        default y
        help
          This selects the 16550-series UART support. For most systems, say Y.
 
-# Xilinx Zynq Cadence UART support
 config HAS_CADENCE_UART
        bool
        default y
@@ -14,7 +12,6 @@ config HAS_CADENCE_UART
          This selects the Xilinx Zynq Cadence UART. If you have a Xilinx Zynq
          based board, say Y.
 
-# ARM AMBA PL011 UART support
 config HAS_PL011
        bool
        default y
@@ -23,7 +20,6 @@ config HAS_PL011
          This selects the ARM(R) AMBA(R) PrimeCell PL011 UART. If you have
          an Integrator/PP2, Integrator/CP or Versatile platform, say Y.
 
-# Samsung Exynos 4210 UART support
 config HAS_EXYNOS4210
        bool
        default y
@@ -32,7 +28,6 @@ config HAS_EXYNOS4210
          This selects the Samsung Exynos 4210 UART. If you have a Samsung
          Exynos based board, say Y.
 
-# OMAP UART support
 config HAS_OMAP
        bool
        default y
@@ -41,7 +36,6 @@ config HAS_OMAP
          This selects the Texas Instruments OMAP UART. If you have a Texas
          Instruments based CPU, say Y.
 
-# SuperH SCI(F) UART support
 config HAS_SCIF
        bool
        default y
@@ -50,7 +44,6 @@ config HAS_SCIF
          This selects the SuperH SCI(F) UART. If you have a SuperH based board,
          say Y.
 
-# USB EHCI debug port support
 config HAS_EHCI
        bool
        help
diff --git a/xen/drivers/cpufreq/Kconfig b/xen/drivers/cpufreq/Kconfig
index 00be480..cce80f4 100644
--- a/xen/drivers/cpufreq/Kconfig
+++ b/xen/drivers/cpufreq/Kconfig
@@ -1,4 +1,3 @@
 
-# Select HAS_CPUFREQ if CPU frequency scaling is supported
 config HAS_CPUFREQ
        bool
diff --git a/xen/drivers/passthrough/Kconfig b/xen/drivers/passthrough/Kconfig
index 05a8daf..8d90b67 100644
--- a/xen/drivers/passthrough/Kconfig
+++ b/xen/drivers/passthrough/Kconfig
@@ -1,4 +1,3 @@
 
-# Select HAS_PASSTHROUGH if device pass through is supported
 config HAS_PASSTHROUGH
        bool
diff --git a/xen/drivers/pci/Kconfig b/xen/drivers/pci/Kconfig
index 68b9953..7da03fa 100644
--- a/xen/drivers/pci/Kconfig
+++ b/xen/drivers/pci/Kconfig
@@ -1,4 +1,3 @@
 
-# Select HAS_PCI if PCI is supported
 config HAS_PCI
        bool
diff --git a/xen/drivers/video/Kconfig b/xen/drivers/video/Kconfig
index 739fe6f..0ffbbd9 100644
--- a/xen/drivers/video/Kconfig
+++ b/xen/drivers/video/Kconfig
@@ -1,13 +1,10 @@
 
-# Select VIDEO if video is supported
 config VIDEO
        bool
 
-# Select VGA if VGA is supported
 config VGA
        bool
        select VIDEO
 
-# Select HAS_ARM_HDLCD if ARM HDLCD is supported
 config HAS_ARM_HDLCD
        bool
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.