]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf7ce9c85db3cb5fad23c6c9adb287a1d16d922f1
treeee8a756021f9df4f7d20a78018c7e9cfc67f85b1
parente0bb783e5251c306209fe7e7e84f5539a01e067d
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