Commit a2b58de2 authored by Allan Stephens's avatar Allan Stephens Committed by Paul Gortmaker

tipc: Remove unused field in bearer structure

Eliminates a field in TIPC's bearer objects that is set, but never
referenced.
Signed-off-by: default avatarAllan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 50d3e639
...@@ -560,7 +560,6 @@ int tipc_enable_bearer(const char *name, u32 disc_domain, u32 priority) ...@@ -560,7 +560,6 @@ int tipc_enable_bearer(const char *name, u32 disc_domain, u32 priority)
b_ptr->media = m_ptr; b_ptr->media = m_ptr;
b_ptr->net_plane = bearer_id + 'A'; b_ptr->net_plane = bearer_id + 'A';
b_ptr->active = 1; b_ptr->active = 1;
b_ptr->detect_scope = disc_domain;
b_ptr->priority = priority; b_ptr->priority = priority;
INIT_LIST_HEAD(&b_ptr->cong_links); INIT_LIST_HEAD(&b_ptr->cong_links);
INIT_LIST_HEAD(&b_ptr->links); INIT_LIST_HEAD(&b_ptr->links);
......
...@@ -105,7 +105,6 @@ struct media { ...@@ -105,7 +105,6 @@ struct media {
* @name: bearer name (format = media:interface) * @name: bearer name (format = media:interface)
* @media: ptr to media structure associated with bearer * @media: ptr to media structure associated with bearer
* @priority: default link priority for bearer * @priority: default link priority for bearer
* @detect_scope: network address mask used during automatic link creation
* @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
* @links: list of non-congested links associated with bearer * @links: list of non-congested links associated with bearer
...@@ -128,7 +127,6 @@ struct tipc_bearer { ...@@ -128,7 +127,6 @@ struct tipc_bearer {
spinlock_t lock; spinlock_t lock;
struct media *media; struct media *media;
u32 priority; u32 priority;
u32 detect_scope;
u32 identity; u32 identity;
struct link_req *link_req; struct link_req *link_req;
struct list_head links; struct list_head links;
......
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