summaryrefslogtreecommitdiffstats
path: root/net/tipc/core.c
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2012-08-16 12:09:13 +0000
committerDavid S. Miller <davem@davemloft.net>2012-08-20 02:26:31 -0700
commit34f256cc7962a44537a0d33877cd93c89873098e (patch)
treeceb48aa806a99439d345b37ecbc3159b1ddcf385 /net/tipc/core.c
parent61cdd4d80b29cfdee45920238eea2d1fbb51f922 (diff)
downloadop-kernel-dev-34f256cc7962a44537a0d33877cd93c89873098e.zip
op-kernel-dev-34f256cc7962a44537a0d33877cd93c89873098e.tar.gz
tipc: eliminate configuration for maximum number of name subscriptions
Gets rid of the need for users to specify the maximum number of name subscriptions supported by TIPC. TIPC now automatically provides support for the maximum number of name subscriptions 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 b858f20..73e5eac 100644
--- a/net/tipc/core.c
+++ b/net/tipc/core.c
@@ -53,7 +53,6 @@ int tipc_random __read_mostly;
/* configurable TIPC parameters */
u32 tipc_own_addr __read_mostly;
int tipc_max_ports __read_mostly;
-int tipc_max_subscriptions;
int tipc_max_publications;
int tipc_net_id __read_mostly;
int tipc_remote_management __read_mostly;
@@ -157,7 +156,6 @@ static int __init tipc_init(void)
tipc_own_addr = 0;
tipc_remote_management = 1;
tipc_max_publications = 10000;
- tipc_max_subscriptions = 2000;
tipc_max_ports = CONFIG_TIPC_PORTS;
tipc_net_id = 4711;
OpenPOWER on IntegriCloud