aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/core.c
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2012-08-16 08:09:14 -0400
committerDavid S. Miller <davem@davemloft.net>2012-08-20 05:26:31 -0400
commite6a04b1d3ff9d5af219b2fcaebe0ef04733d597c (patch)
tree7e529abf881c3169400fbe9f716d46f579deaa62 /net/tipc/core.c
parent34f256cc7962a44537a0d33877cd93c89873098e (diff)
tipc: eliminate configuration for maximum number of name publications
Gets rid of the need for users to specify the maximum number of name publications supported by TIPC. TIPC now automatically provides support for the maximum number of name publications to 65535. Signed-off-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/core.c')
-rw-r--r--net/tipc/core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/tipc/core.c b/net/tipc/core.c
index 73e5eac20735..bfe8af88469a 100644
--- a/net/tipc/core.c
+++ b/net/tipc/core.c
@@ -53,7 +53,6 @@ int tipc_random __read_mostly;
53/* configurable TIPC parameters */ 53/* configurable TIPC parameters */
54u32 tipc_own_addr __read_mostly; 54u32 tipc_own_addr __read_mostly;
55int tipc_max_ports __read_mostly; 55int tipc_max_ports __read_mostly;
56int tipc_max_publications;
57int tipc_net_id __read_mostly; 56int tipc_net_id __read_mostly;
58int tipc_remote_management __read_mostly; 57int tipc_remote_management __read_mostly;
59 58
@@ -155,7 +154,6 @@ static int __init tipc_init(void)
155 154
156 tipc_own_addr = 0; 155 tipc_own_addr = 0;
157 tipc_remote_management = 1; 156 tipc_remote_management = 1;
158 tipc_max_publications = 10000;
159 tipc_max_ports = CONFIG_TIPC_PORTS; 157 tipc_max_ports = CONFIG_TIPC_PORTS;
160 tipc_net_id = 4711; 158 tipc_net_id = 4711;
161 159