tipc: Eliminate useless check when creating internal message
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 31 May 2011 18:35:18 +0000 (14:35 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 24 Jun 2011 20:18:17 +0000 (16:18 -0400)
commit15f4e2b30372695573bc46102790094a92b3eb11
tree0c511d4b1f14571866daeafa7e1fc56c3c52872a
parenta9948ba24f764694413207812d2b2dae46eb7275
tipc: Eliminate useless check when creating internal message

Gets rid of code that allows tipc_msg_init() to create a short
payload message header. This optimization is possible because
there are no longer any callers who require this capability.

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