aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/name_table.c
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2008-06-04 17:37:34 -0700
committerDavid S. Miller <davem@davemloft.net>2008-06-04 17:37:34 -0700
commit757152175666681d54d370500e41a756cfedd4fc (patch)
tree39452e5ea148ec0743300a14a336c861a344fe0a /net/tipc/name_table.c
parenttipc: Prevent access of non-existent field in short message header (diff)
downloadlinux-dev-757152175666681d54d370500e41a756cfedd4fc.tar.xz
linux-dev-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/tipc/name_table.c')
0 files changed, 0 insertions, 0 deletions