mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 09:31:14 +00:00
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:
parent
471450f7ec
commit
12bae479ee
2 changed files with 15 additions and 87 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue