diff options
author | Jon Paul Maloy <jon.maloy@ericsson.com> | 2015-11-19 22:30:42 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-20 22:06:10 +0300 |
commit | 1d7e1c2595bd20c5274a8e49d89cf0cf483759de (patch) | |
tree | 291677f9816bfbcc47405245e5d06af4fcb23d2b /net/tipc/name_distr.h | |
parent | 5c10e9794013143eec80d494603d46dcb219970a (diff) | |
download | linux-1d7e1c2595bd20c5274a8e49d89cf0cf483759de.tar.xz |
tipc: reduce code dependency between binding table and node layer
The file name_distr.c currently contains three functions,
named_cluster_distribute(), tipc_publ_subcscribe() and
tipc_publ_unsubscribe() that all directly access fields in
struct tipc_node. We want to eliminate such dependencies, so
we move those functions to the file node.c and rename them to
tipc_node_broadcast(), tipc_node_subscribe() and tipc_node_unsubscribe()
respectively.
Reviewed-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>
Diffstat (limited to 'net/tipc/name_distr.h')
-rw-r--r-- | net/tipc/name_distr.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/tipc/name_distr.h b/net/tipc/name_distr.h index dd2d9fd80da2..1264ba0af937 100644 --- a/net/tipc/name_distr.h +++ b/net/tipc/name_distr.h @@ -69,7 +69,6 @@ struct distr_item { struct sk_buff *tipc_named_publish(struct net *net, struct publication *publ); struct sk_buff *tipc_named_withdraw(struct net *net, struct publication *publ); -void named_cluster_distribute(struct net *net, struct sk_buff *buf); void tipc_named_node_up(struct net *net, u32 dnode); void tipc_named_rcv(struct net *net, struct sk_buff_head *msg_queue); void tipc_named_reinit(struct net *net); |