mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
51a8e4dee7
commit
8f92df6ad4
16 changed files with 83 additions and 289 deletions
|
@ -37,16 +37,18 @@
|
|||
#ifndef _TIPC_NET_H
|
||||
#define _TIPC_NET_H
|
||||
|
||||
struct cluster;
|
||||
struct tipc_node;
|
||||
|
||||
/**
|
||||
* struct network - TIPC network structure
|
||||
* @clusters: array of pointers to all clusters within zone
|
||||
* @nodes: array of pointers to all nodes within cluster
|
||||
* @highest_node: id of highest numbered node within cluster
|
||||
* @links: number of (unicast) links to cluster
|
||||
*/
|
||||
|
||||
struct network {
|
||||
struct cluster *clusters[2]; /* currently limited to just 1 cluster */
|
||||
struct tipc_node **nodes;
|
||||
u32 highest_node;
|
||||
u32 links;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue