]> git.openfabrics.org - ~emulex/infiniband.git/commit
tipc: Optimize re-initialization of port message header templates
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 17 Apr 2012 22:17:35 +0000 (18:17 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 19 Apr 2012 19:46:41 +0000 (15:46 -0400)
commit5eb0a291fbde1842b8e3f241183a0e2c1399c600
treee09f18e68ae0a4ee5133292441a6d03a72c0b5b4
parentd4f5c12cdf43ce70731d5abfb6400bfb1be392d3
tipc: Optimize re-initialization of port message header templates

Removes an unnecessary check in the logic that updates the message
header template for existing ports when a node's network address is
first assigned. There is no longer any need to check to see if the
node's network address has actually changed since the calling routine
has already verified that this is so.

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