diff options
author | Allan Stephens <Allan.Stephens@windriver.com> | 2010-12-31 13:59:17 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-01 16:57:48 -0500 |
commit | 08c80e9a031df0a8f0269477a32f5eae47d7a146 (patch) | |
tree | 87a20adf19603edfafabc0b138a2992a0cbe6481 /net/tipc/addr.c | |
parent | 51f98a8d70583b18cb08b19353aeed5efb0244af (diff) |
tipc: Remove prototype code for supporting slave nodes
Simplifies routines and data structures that were intended to allow
TIPC to support slave nodes (i.e. nodes that did not have links to
all of the other nodes in its cluster, forcing TIPC to route messages
that it could not deliver directly through a non-slave node).
Currently, TIPC supports only networks containing non-slave nodes,
so this code is unnecessary.
Note: The latest edition of the TIPC 2.0 Specification has eliminated
the concept of slave nodes entirely.
Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/addr.c')
-rw-r--r-- | net/tipc/addr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/tipc/addr.c b/net/tipc/addr.c index 3d0f97da5b5f..8823e03e52e0 100644 --- a/net/tipc/addr.c +++ b/net/tipc/addr.c | |||
@@ -53,8 +53,6 @@ int tipc_addr_domain_valid(u32 addr) | |||
53 | u32 z = tipc_zone(addr); | 53 | u32 z = tipc_zone(addr); |
54 | u32 max_nodes = tipc_max_nodes; | 54 | u32 max_nodes = tipc_max_nodes; |
55 | 55 | ||
56 | if (is_slave(addr)) | ||
57 | max_nodes = LOWEST_SLAVE + tipc_max_slaves; | ||
58 | if (n > max_nodes) | 56 | if (n > max_nodes) |
59 | return 0; | 57 | return 0; |
60 | if (c > tipc_max_clusters) | 58 | if (c > tipc_max_clusters) |