tipc: Optimize message initialization routine
authorAllan Stephens <allan.stephens@windriver.com>
Thu, 5 Jun 2008 00:37:34 +0000 (17:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jun 2008 00:37:34 +0000 (17:37 -0700)
commit757152175666681d54d370500e41a756cfedd4fc
tree39452e5ea148ec0743300a14a336c861a344fe0a
parent9c396a7bfb4fe74e444be09069651280da520944
tipc: Optimize message initialization routine

This patch eliminates the rarely-used "error code" argument
when initializing a TIPC message header, since the default
value of zero is the desired result in most cases; the few
exceptional cases now set the error code explicitly.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bcast.c
net/tipc/cluster.c
net/tipc/discover.c
net/tipc/link.c
net/tipc/msg.h
net/tipc/name_distr.c
net/tipc/port.c