diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2008-06-05 02:37:34 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-05 02:37:34 +0200 |
commit | 757152175666681d54d370500e41a756cfedd4fc (patch) | |
tree | 39452e5ea148ec0743300a14a336c861a344fe0a /net/core | |
parent | tipc: Prevent access of non-existent field in short message header (diff) | |
download | linux-757152175666681d54d370500e41a756cfedd4fc.tar.xz linux-757152175666681d54d370500e41a756cfedd4fc.zip |
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>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions