]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc59631a1bd959ed2f156ff05eb25beae52cd6307
tree4fecb46c23a92b3635eb1db071b4e08edbe9fe86
parent56c5dfb1b4fadb260a26ee72a702c0980aa169e9
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