tipc: rename temporarily named functions
After the previous commit, we can now give the functions with temporary names, such as tipc_link_xmit2(), tipc_msg_build2() etc., their proper names. There are no functional changes in this commit. Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Reviewed-by: Erik Hugne <erik.hugne@ericsson.com> Reviewed-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
c4116e1057
commit
9fbfb8b120
@@ -130,7 +130,7 @@ void tipc_port_destroy(struct tipc_port *p_ptr)
|
||||
tipc_nodesub_unsubscribe(&p_ptr->subscription);
|
||||
msg = buf_msg(buf);
|
||||
peer = msg_destnode(msg);
|
||||
tipc_link_xmit2(buf, peer, msg_link_selector(msg));
|
||||
tipc_link_xmit(buf, peer, msg_link_selector(msg));
|
||||
}
|
||||
spin_lock_bh(&tipc_port_list_lock);
|
||||
list_del(&p_ptr->port_list);
|
||||
@@ -187,7 +187,7 @@ static void port_timeout(unsigned long ref)
|
||||
}
|
||||
tipc_port_unlock(p_ptr);
|
||||
msg = buf_msg(buf);
|
||||
tipc_link_xmit2(buf, msg_destnode(msg), msg_link_selector(msg));
|
||||
tipc_link_xmit(buf, msg_destnode(msg), msg_link_selector(msg));
|
||||
}
|
||||
|
||||
|
||||
@@ -202,7 +202,7 @@ static void port_handle_node_down(unsigned long ref)
|
||||
buf = port_build_self_abort_msg(p_ptr, TIPC_ERR_NO_NODE);
|
||||
tipc_port_unlock(p_ptr);
|
||||
msg = buf_msg(buf);
|
||||
tipc_link_xmit2(buf, msg_destnode(msg), msg_link_selector(msg));
|
||||
tipc_link_xmit(buf, msg_destnode(msg), msg_link_selector(msg));
|
||||
}
|
||||
|
||||
|
||||
@@ -347,7 +347,7 @@ void tipc_acknowledge(u32 ref, u32 ack)
|
||||
if (!buf)
|
||||
return;
|
||||
msg = buf_msg(buf);
|
||||
tipc_link_xmit2(buf, msg_destnode(msg), msg_link_selector(msg));
|
||||
tipc_link_xmit(buf, msg_destnode(msg), msg_link_selector(msg));
|
||||
}
|
||||
|
||||
int tipc_publish(struct tipc_port *p_ptr, unsigned int scope,
|
||||
@@ -509,6 +509,6 @@ int tipc_port_shutdown(u32 ref)
|
||||
buf = port_build_peer_abort_msg(p_ptr, TIPC_CONN_SHUTDOWN);
|
||||
tipc_port_unlock(p_ptr);
|
||||
msg = buf_msg(buf);
|
||||
tipc_link_xmit2(buf, msg_destnode(msg), msg_link_selector(msg));
|
||||
tipc_link_xmit(buf, msg_destnode(msg), msg_link_selector(msg));
|
||||
return tipc_port_disconnect(ref);
|
||||
}
|
||||
|
Reference in New Issue
Block a user