tipc: Eliminate obsolete native API forwarding routines
Moves the content of each native API message forwarding routine into the sole routine that calls it, since the forwarding routines no longer be called in isolation. Also removes code in each routine that altered the outgoing message's importance level since this is now no longer possible. The previous function mapping (parent function, and child API) was as follows: tipc_send2name \--tipc_forward2name tipc_send2port \--tipc_forward2port tipc_send_buf2port \--tipc_forward_buf2port After this commit, the children don't exist and their functionality is completely in the respective parent. Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
471450f7ec
commit
12bae479ee
@@ -222,8 +222,6 @@ int tipc_disconnect_port(struct tipc_port *tp_ptr);
|
||||
/*
|
||||
* TIPC messaging routines
|
||||
*/
|
||||
#define TIPC_PORT_IMPORTANCE 100 /* send using current port setting */
|
||||
|
||||
int tipc_send(u32 portref, unsigned int num_sect, struct iovec const *msg_sect);
|
||||
|
||||
int tipc_send2name(u32 portref, struct tipc_name const *name, u32 domain,
|
||||
|
Reference in New Issue
Block a user