tipc: merge two lists in struct publication
The size of struct publication can be reduced further. Membership in lists 'nodesub_list' and 'local_list' is mutually exlusive, in that remote publications use the former and local publications the latter. We replace the two lists with one single, named 'binding_node' which reflects what it really is. Acked-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
ba765ec637
commit
935439cc48
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* net/tipc/name_table.h: Include file for TIPC name table code
|
||||
*
|
||||
* Copyright (c) 2000-2006, 2014-2015, Ericsson AB
|
||||
* Copyright (c) 2000-2006, 2014-2018, Ericsson AB
|
||||
* Copyright (c) 2004-2005, 2010-2011, Wind River Systems
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -76,8 +76,7 @@ struct publication {
|
||||
u32 node;
|
||||
u32 ref;
|
||||
u32 key;
|
||||
struct list_head nodesub_list;
|
||||
struct list_head local_list;
|
||||
struct list_head binding_node;
|
||||
struct list_head pport_list;
|
||||
struct list_head node_list;
|
||||
struct list_head cluster_list;
|
||||
|
Reference in New Issue
Block a user