tipc: remove unnecessary checking for node object
authorYing Xue <ying.xue@windriver.com>
Thu, 27 Mar 2014 04:54:30 +0000 (12:54 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Mar 2014 17:08:36 +0000 (13:08 -0400)
commit76d7882420d94075c806c074de241602a06e47e6
tree03a8d9227769559fe61c207b11e465431625fdd6
parent1dbe136938df6633042b5674abdd2e08542168f3
tipc: remove unnecessary checking for node object

tipc_node_create routine doesn't need to check whether a node
object specified with a node address exists or not because its
caller(ie, tipc_disc_recv_msg routine) has checked this before
calling it.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/node.c