]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/dccp/Kconfig
[MTD] jedec probe: drop unnecessary forward declarations
[linux-2.6-omap-h63xx.git] / net / dccp / Kconfig
index b8a68dd41000348f58ec5215c35761098a1bb68c..0549e4719b1349e4eb1f4506e3dd42035c7464ae 100644 (file)
@@ -1,8 +1,6 @@
-menu "DCCP Configuration (EXPERIMENTAL)"
-       depends on INET && EXPERIMENTAL
-
-config IP_DCCP
+menuconfig IP_DCCP
        tristate "The DCCP Protocol (EXPERIMENTAL)"
+       depends on INET && EXPERIMENTAL
        ---help---
          Datagram Congestion Control Protocol (RFC 4340)
 
@@ -19,19 +17,20 @@ config IP_DCCP
 
          If in doubt, say N.
 
+if IP_DCCP
+
 config INET_DCCP_DIAG
-       depends on IP_DCCP && INET_DIAG
+       depends on INET_DIAG
        def_tristate y if (IP_DCCP = y && INET_DIAG = y)
        def_tristate m
 
 config IP_DCCP_ACKVEC
-       depends on IP_DCCP
        bool
 
 source "net/dccp/ccids/Kconfig"
 
 menu "DCCP Kernel Hacking"
-       depends on IP_DCCP && DEBUG_KERNEL=y
+       depends on DEBUG_KERNEL=y
 
 config IP_DCCP_DEBUG
        bool "DCCP debug messages"
@@ -61,4 +60,4 @@ config NET_DCCPPROBE
 
 endmenu
 
-endmenu
+endif # IP_DDCP