]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit619bae3c318f00eb098a39c537c090e0abd6d0cc
tree39452e5ea148ec0743300a14a336c861a344fe0a
parent59b7ce2db5e80053144318c51522515796592dd2
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