diff options
author | Allan Stephens <Allan.Stephens@windriver.com> | 2010-12-31 13:59:16 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-01 16:57:47 -0500 |
commit | 51f98a8d70583b18cb08b19353aeed5efb0244af (patch) | |
tree | 96253d3cb394202b442e65f4d169bbf49b94c327 /net/tipc/addr.c | |
parent | aa6027cacdd912ce884953714fcc7392b6155bc6 (diff) |
tipc: Remove prototype code for supporting multiple zones
Eliminates routines, data structures, and files that were intended
to allows TIPC to support a network containing multiple zones.
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 | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/tipc/addr.c b/net/tipc/addr.c index 886715a75259..3d0f97da5b5f 100644 --- a/net/tipc/addr.c +++ b/net/tipc/addr.c | |||
@@ -35,8 +35,6 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "core.h" | 37 | #include "core.h" |
38 | #include "addr.h" | ||
39 | #include "zone.h" | ||
40 | #include "cluster.h" | 38 | #include "cluster.h" |
41 | 39 | ||
42 | /** | 40 | /** |
@@ -61,8 +59,6 @@ int tipc_addr_domain_valid(u32 addr) | |||
61 | return 0; | 59 | return 0; |
62 | if (c > tipc_max_clusters) | 60 | if (c > tipc_max_clusters) |
63 | return 0; | 61 | return 0; |
64 | if (z > tipc_max_zones) | ||
65 | return 0; | ||
66 | 62 | ||
67 | if (n && (!z || !c)) | 63 | if (n && (!z || !c)) |
68 | return 0; | 64 | return 0; |