]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tipc: remove node subscription infrastructure
authorYing Xue <ying.xue@windriver.com>
Wed, 26 Nov 2014 03:41:45 +0000 (11:41 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2014 17:30:16 +0000 (12:30 -0500)
commita8f48af587b0f257c49dce5b49a62554a4b8627e
treedd28b059961d63e1f925a5c34f05fb14a741d405
parent73cf0e923d685a6a1b7754c7d29cc14944f271d9
tipc: remove node subscription infrastructure

The node subscribe infrastructure represents a virtual base class, so
its users, such as struct tipc_port and struct publication, can derive
its implemented functionalities. However, after the removal of struct
tipc_port, struct publication is left as its only single user now. So
defining an abstract infrastructure for one user becomes no longer
reasonable. If corresponding new functions associated with the
infrastructure are moved to name_table.c file, the node subscription
infrastructure can be removed as well.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/Makefile
net/tipc/name_distr.c
net/tipc/name_distr.h
net/tipc/name_table.c
net/tipc/name_table.h
net/tipc/node.c
net/tipc/node.h
net/tipc/node_subscr.c [deleted file]
net/tipc/node_subscr.h [deleted file]