summaryrefslogtreecommitdiffstats
path: root/net/tipc/addr.c
diff options
context:
space:
mode:
authorAllan Stephens <Allan.Stephens@windriver.com>2010-12-31 19:59:16 +0100
committerDavid S. Miller <davem@davemloft.net>2011-01-01 22:57:47 +0100
commit51f98a8d70583b18cb08b19353aeed5efb0244af (patch)
tree96253d3cb394202b442e65f4d169bbf49b94c327 /net/tipc/addr.c
parenttg3: fix warnings (diff)
downloadlinux-51f98a8d70583b18cb08b19353aeed5efb0244af.tar.xz
linux-51f98a8d70583b18cb08b19353aeed5efb0244af.zip
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.c4
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 @@
*/
#include "core.h"
-#include "addr.h"
-#include "zone.h"
#include "cluster.h"
/**
@@ -61,8 +59,6 @@ int tipc_addr_domain_valid(u32 addr)
return 0;
if (c > tipc_max_clusters)
return 0;
- if (z > tipc_max_zones)
- return 0;
if (n && (!z || !c))
return 0;