diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-09-04 01:30:19 -0400 |
---|---|---|
committer | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-09-04 01:45:42 -0400 |
commit | 891e4d8a402427bc40dee4c8413213a584710372 (patch) | |
tree | e1e49c235c25c9d87a06b04ece4f534d79a40e51 | |
parent | 9d497a2c9120e31ff417e75f9f5576c4cde11281 (diff) |
dccp ccid-3: Tidy up CCID-Kconfig dependencies
The per-CCID menu has several dependencies on EXPERIMENTAL. These are redundant,
since net/dccp/ccids/Kconfig is sourced by net/dccp/Kconfig and since the
latter menu in turn asserts a dependency on EXPERIMENTAL.
The patch removes the redundant dependencies as well as the repeated reference
within the sub-menu.
Further changes:
----------------
Two single dependencies on CCID-3 are replaced with a single enclosing `if'.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
-rw-r--r-- | net/dccp/ccids/Kconfig | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/net/dccp/ccids/Kconfig b/net/dccp/ccids/Kconfig index 44c7e90248fa..dc973abe03b4 100644 --- a/net/dccp/ccids/Kconfig +++ b/net/dccp/ccids/Kconfig | |||
@@ -1,8 +1,7 @@ | |||
1 | menu "DCCP CCIDs Configuration (EXPERIMENTAL)" | 1 | menu "DCCP CCIDs Configuration (EXPERIMENTAL)" |
2 | depends on EXPERIMENTAL | ||
3 | 2 | ||
4 | config IP_DCCP_CCID2 | 3 | config IP_DCCP_CCID2 |
5 | tristate "CCID2 (TCP-Like) (EXPERIMENTAL)" | 4 | tristate "CCID2 (TCP-Like)" |
6 | def_tristate IP_DCCP | 5 | def_tristate IP_DCCP |
7 | ---help--- | 6 | ---help--- |
8 | CCID 2, TCP-like Congestion Control, denotes Additive Increase, | 7 | CCID 2, TCP-like Congestion Control, denotes Additive Increase, |
@@ -35,7 +34,7 @@ config IP_DCCP_CCID2_DEBUG | |||
35 | If in doubt, say N. | 34 | If in doubt, say N. |
36 | 35 | ||
37 | config IP_DCCP_CCID3 | 36 | config IP_DCCP_CCID3 |
38 | tristate "CCID3 (TCP-Friendly) (EXPERIMENTAL)" | 37 | tristate "CCID3 (TCP-Friendly)" |
39 | def_tristate IP_DCCP | 38 | def_tristate IP_DCCP |
40 | select IP_DCCP_TFRC_LIB | 39 | select IP_DCCP_TFRC_LIB |
41 | ---help--- | 40 | ---help--- |
@@ -63,9 +62,9 @@ config IP_DCCP_CCID3 | |||
63 | 62 | ||
64 | If in doubt, say M. | 63 | If in doubt, say M. |
65 | 64 | ||
65 | if IP_DCCP_CCID3 | ||
66 | config IP_DCCP_CCID3_DEBUG | 66 | config IP_DCCP_CCID3_DEBUG |
67 | bool "CCID3 debugging messages" | 67 | bool "CCID3 debugging messages" |
68 | depends on IP_DCCP_CCID3 | ||
69 | ---help--- | 68 | ---help--- |
70 | Enable CCID3-specific debugging messages. | 69 | Enable CCID3-specific debugging messages. |
71 | 70 | ||
@@ -78,7 +77,6 @@ config IP_DCCP_CCID3_DEBUG | |||
78 | config IP_DCCP_CCID3_RTO | 77 | config IP_DCCP_CCID3_RTO |
79 | int "Use higher bound for nofeedback timer" | 78 | int "Use higher bound for nofeedback timer" |
80 | default 100 | 79 | default 100 |
81 | depends on IP_DCCP_CCID3 && EXPERIMENTAL | ||
82 | ---help--- | 80 | ---help--- |
83 | Use higher lower bound for nofeedback timer expiration. | 81 | Use higher lower bound for nofeedback timer expiration. |
84 | 82 | ||
@@ -105,6 +103,7 @@ config IP_DCCP_CCID3_RTO | |||
105 | The purpose of the nofeedback timer is to slow DCCP down when there | 103 | The purpose of the nofeedback timer is to slow DCCP down when there |
106 | is serious network congestion: experimenting with larger values should | 104 | is serious network congestion: experimenting with larger values should |
107 | therefore not be performed on WANs. | 105 | therefore not be performed on WANs. |
106 | endif # IP_DCCP_CCID3 | ||
108 | 107 | ||
109 | config IP_DCCP_TFRC_LIB | 108 | config IP_DCCP_TFRC_LIB |
110 | tristate | 109 | tristate |