tipc: Eliminate obsolete native API forwarding routines
authorAllan Stephens <Allan.Stephens@windriver.com>
Tue, 30 Nov 2010 12:01:02 +0000 (12:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Dec 2010 21:34:06 +0000 (13:34 -0800)
commit12bae479ee414f45ad8fe93530f5b6ea241bde3f
treeee8a756021f9df4f7d20a78018c7e9cfc67f85b1
parent471450f7ec24ccd9ac24e6f05cd9358d40c09d03
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>
net/tipc/port.c
net/tipc/port.h