Commit 7d45a04c authored by Jon Paul Maloy's avatar Jon Paul Maloy Committed by David S. Miller

tipc: remove remnants of old broadcast code

We remove a couple of leftover fields in struct tipc_bearer. Those
were used by the old broadcast implementation, and are not needed
any longer. There is no functional changes in this commit.
Acked-by: default avatarYing Xue <ying.xue@windriver.com>
Signed-off-by: default avatarJon Maloy <jon.maloy@ericsson.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b30d27f5
...@@ -42,8 +42,6 @@ ...@@ -42,8 +42,6 @@
#include <net/genetlink.h> #include <net/genetlink.h>
#define MAX_MEDIA 3 #define MAX_MEDIA 3
#define MAX_NODES 4096
#define WSIZE 32
/* Identifiers associated with TIPC message header media address info /* Identifiers associated with TIPC message header media address info
* - address info field is 32 bytes long * - address info field is 32 bytes long
...@@ -61,16 +59,6 @@ ...@@ -61,16 +59,6 @@
#define TIPC_MEDIA_TYPE_IB 2 #define TIPC_MEDIA_TYPE_IB 2
#define TIPC_MEDIA_TYPE_UDP 3 #define TIPC_MEDIA_TYPE_UDP 3
/**
* struct tipc_node_map - set of node identifiers
* @count: # of nodes in set
* @map: bitmap of node identifiers that are in the set
*/
struct tipc_node_map {
u32 count;
u32 map[MAX_NODES / WSIZE];
};
/** /**
* struct tipc_media_addr - destination address used by TIPC bearers * struct tipc_media_addr - destination address used by TIPC bearers
* @value: address info (format defined by media) * @value: address info (format defined by media)
...@@ -142,7 +130,6 @@ struct tipc_media { ...@@ -142,7 +130,6 @@ struct tipc_media {
* @identity: array index of this bearer within TIPC bearer array * @identity: array index of this bearer within TIPC bearer array
* @link_req: ptr to (optional) structure making periodic link setup requests * @link_req: ptr to (optional) structure making periodic link setup requests
* @net_plane: network plane ('A' through 'H') currently associated with bearer * @net_plane: network plane ('A' through 'H') currently associated with bearer
* @nodes: indicates which nodes in cluster can be reached through bearer
* *
* Note: media-specific code is responsible for initialization of the fields * Note: media-specific code is responsible for initialization of the fields
* indicated below when a bearer is enabled; TIPC's generic bearer code takes * indicated below when a bearer is enabled; TIPC's generic bearer code takes
...@@ -163,8 +150,6 @@ struct tipc_bearer { ...@@ -163,8 +150,6 @@ struct tipc_bearer {
u32 identity; u32 identity;
struct tipc_link_req *link_req; struct tipc_link_req *link_req;
char net_plane; char net_plane;
int node_cnt;
struct tipc_node_map nodes;
}; };
struct tipc_bearer_names { struct tipc_bearer_names {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment