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/net.h | |
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/net.h')
-rw-r--r-- | net/tipc/net.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/net/tipc/net.h b/net/tipc/net.h index de2b9ad8f646..786c94007470 100644 --- a/net/tipc/net.h +++ b/net/tipc/net.h | |||
@@ -37,15 +37,17 @@ | |||
37 | #ifndef _TIPC_NET_H | 37 | #ifndef _TIPC_NET_H |
38 | #define _TIPC_NET_H | 38 | #define _TIPC_NET_H |
39 | 39 | ||
40 | struct _zone; | 40 | struct cluster; |
41 | 41 | ||
42 | /** | 42 | /** |
43 | * struct network - TIPC network structure | 43 | * struct network - TIPC network structure |
44 | * @zones: array of pointers to all zones within network | 44 | * @clusters: array of pointers to all clusters within zone |
45 | * @links: number of (unicast) links to cluster | ||
45 | */ | 46 | */ |
46 | 47 | ||
47 | struct network { | 48 | struct network { |
48 | struct _zone **zones; | 49 | struct cluster *clusters[2]; /* currently limited to just 1 cluster */ |
50 | u32 links; | ||
49 | }; | 51 | }; |
50 | 52 | ||
51 | 53 | ||