Commit 94fc9c47 authored by Paul Gortmaker's avatar Paul Gortmaker

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: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 4cb7d55a
...@@ -20,18 +20,9 @@ menuconfig TIPC ...@@ -20,18 +20,9 @@ menuconfig TIPC
If in doubt, say N. If in doubt, say N.
if TIPC
config TIPC_ADVANCED
bool "Advanced TIPC configuration"
default n
help
Saying Y here will open some advanced configuration for TIPC.
Most users do not need to bother; if unsure, just say N.
config TIPC_PORTS config TIPC_PORTS
int "Maximum number of ports in a node" int "Maximum number of ports in a node"
depends on TIPC_ADVANCED depends on TIPC
range 127 65535 range 127 65535
default "8191" default "8191"
help help
...@@ -40,5 +31,3 @@ config TIPC_PORTS ...@@ -40,5 +31,3 @@ config TIPC_PORTS
Setting this to a smaller value saves some memory, Setting this to a smaller value saves some memory,
setting it to higher allows for more ports. setting it to higher allows for more ports.
endif # TIPC
...@@ -42,11 +42,6 @@ ...@@ -42,11 +42,6 @@
#include <linux/module.h> #include <linux/module.h>
#ifndef CONFIG_TIPC_PORTS
#define CONFIG_TIPC_PORTS 8191
#endif
/* global variables used by multiple sub-systems within TIPC */ /* global variables used by multiple sub-systems within TIPC */
int tipc_random __read_mostly; int tipc_random __read_mostly;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment