tipc: Eliminate useless check when network address is assigned
authorAllan Stephens <allan.stephens@windriver.com>
Fri, 14 Oct 2011 18:42:25 +0000 (14:42 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 27 Dec 2011 16:33:46 +0000 (11:33 -0500)
commit945af1c39df00a1e5873e38145432ba752ec49a0
tree4fecb46c23a92b3635eb1db071b4e08edbe9fe86
parent97f1b625d133b44d38b8b55ec2cbe35d7ef94f3a
tipc: Eliminate useless check when network address is assigned

Gets rid of an unnecessary check in the routine that updates the port id
of a node's name publications when the node is assigned a network address,
since the routine is only invoked if the new address is different from
the existing one.

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