diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-11-21 20:11:54 -0500 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-11-22 14:33:29 -0500 |
commit | 94fc9c4719f53264c7cce62ee558781fee7b7128 (patch) | |
tree | a554e029147bc05b42688e1b2d6fd9559f9b0b21 /net/tipc | |
parent | 4cb7d55ab4c4726c5d966d5a19e7b304345e74ca (diff) |
tipc: delete TIPC_ADVANCED Kconfig variable
There used to be a time when TIPC had lots of Kconfig knobs the
end user could alter, but they have all been made automatic or
obsolete, with the exception of CONFIG_TIPC_PORTS. This
previously existing set of options was all hidden under the
TIPC_ADVANCED setting, which does not exist in any code, but
only in Kconfig scope.
Having this now, just to hide the one remaining "advanced"
option no longer makes sense. Remove it. Also get rid of the
ifdeffery in the TIPC code that allowed for TIPC_PORTS to be
possibly undefined.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc')
-rw-r--r-- | net/tipc/Kconfig | 13 | ||||
-rw-r--r-- | net/tipc/core.c | 5 |
2 files changed, 1 insertions, 17 deletions
diff --git a/net/tipc/Kconfig b/net/tipc/Kconfig index 585460180ffb..bc41bd31eadc 100644 --- a/net/tipc/Kconfig +++ b/net/tipc/Kconfig | |||
@@ -20,18 +20,9 @@ menuconfig TIPC | |||
20 | 20 | ||
21 | If in doubt, say N. | 21 | If in doubt, say N. |
22 | 22 | ||
23 | if TIPC | ||
24 | |||
25 | config TIPC_ADVANCED | ||
26 | bool "Advanced TIPC configuration" | ||
27 | default n | ||
28 | help | ||
29 | Saying Y here will open some advanced configuration for TIPC. | ||
30 | Most users do not need to bother; if unsure, just say N. | ||
31 | |||
32 | config TIPC_PORTS | 23 | config TIPC_PORTS |
33 | int "Maximum number of ports in a node" | 24 | int "Maximum number of ports in a node" |
34 | depends on TIPC_ADVANCED | 25 | depends on TIPC |
35 | range 127 65535 | 26 | range 127 65535 |
36 | default "8191" | 27 | default "8191" |
37 | help | 28 | help |
@@ -40,5 +31,3 @@ config TIPC_PORTS | |||
40 | 31 | ||
41 | Setting this to a smaller value saves some memory, | 32 | Setting this to a smaller value saves some memory, |
42 | setting it to higher allows for more ports. | 33 | setting it to higher allows for more ports. |
43 | |||
44 | endif # TIPC | ||
diff --git a/net/tipc/core.c b/net/tipc/core.c index bfe8af88469a..fc05cecd7481 100644 --- a/net/tipc/core.c +++ b/net/tipc/core.c | |||
@@ -42,11 +42,6 @@ | |||
42 | 42 | ||
43 | #include <linux/module.h> | 43 | #include <linux/module.h> |
44 | 44 | ||
45 | #ifndef CONFIG_TIPC_PORTS | ||
46 | #define CONFIG_TIPC_PORTS 8191 | ||
47 | #endif | ||
48 | |||
49 | |||
50 | /* global variables used by multiple sub-systems within TIPC */ | 45 | /* global variables used by multiple sub-systems within TIPC */ |
51 | int tipc_random __read_mostly; | 46 | int tipc_random __read_mostly; |
52 | 47 | ||