tipc: Eliminate redundant check when sending messages
authorAllan Stephens <allan.stephens@windriver.com>
Thu, 26 May 2011 17:24:24 +0000 (13:24 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 1 Sep 2011 15:16:37 +0000 (11:16 -0400)
commitff60af8c16aa3b8ee51a0a6b4c4ea42342d1607d
tree9da1d66cc36d000267ea2a80a8ee3bae8215af21
parent0f38513d22e14f607fc791364856b08cac9f91c9
tipc: Eliminate redundant check when sending messages

Eliminates code in tipc_send_buf_fast() that handles messages
sent to a destination on the current node, since the only caller
of the routine only passes in messages destined for other nodes.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/link.c