diff options
author | Allan Stephens <Allan.Stephens@windriver.com> | 2010-12-31 13:59:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-01 16:57:49 -0500 |
commit | 8f92df6ad49da958d97e171762d0a97a3dc738f1 (patch) | |
tree | ad848109f978d225b42ea219d7f45f10aa008a2c /net/tipc/addr.c | |
parent | 51a8e4dee7653698ba4c6e7de71053665f075273 (diff) |
tipc: Remove prototype code for supporting multiple clusters
Eliminates routines, data structures, and files that were intended
to allow TIPC to support a network containing multiple clusters.
Currently, TIPC supports only networks consisting of a single cluster
within a single zone, so this code is unnecessary.
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 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/tipc/addr.c b/net/tipc/addr.c index 8823e03e52e0..483868a75b88 100644 --- a/net/tipc/addr.c +++ b/net/tipc/addr.c | |||
@@ -35,7 +35,8 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "core.h" | 37 | #include "core.h" |
38 | #include "cluster.h" | 38 | #include "node.h" |
39 | #include "addr.h" | ||
39 | 40 | ||
40 | /** | 41 | /** |
41 | * tipc_addr_domain_valid - validates a network domain address | 42 | * tipc_addr_domain_valid - validates a network domain address |
@@ -55,8 +56,6 @@ int tipc_addr_domain_valid(u32 addr) | |||
55 | 56 | ||
56 | if (n > max_nodes) | 57 | if (n > max_nodes) |
57 | return 0; | 58 | return 0; |
58 | if (c > tipc_max_clusters) | ||
59 | return 0; | ||
60 | 59 | ||
61 | if (n && (!z || !c)) | 60 | if (n && (!z || !c)) |
62 | return 0; | 61 | return 0; |