From: Allan Stephens Date: Fri, 3 Sep 2010 08:33:39 +0000 (+0000) Subject: tipc: Minor optimizations to name table translation code X-Git-Tag: v2.6.37-rc1~147^2~571 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d9c54c1e9ececcf7e99c4f014f9bec7ee3a7def;p=pandora-kernel.git tipc: Minor optimizations to name table translation code Optimizes TIPC's name table translation code to avoid unnecessary manipulation of the node address field of the resulting port id when name translation fails. This change is possible because a valid port id cannot have a reference field of zero, so examining the reference only is sufficient to determine if the translation was successful. Signed-off-by: Allan Stephens Signed-off-by: Paul Gortmaker Signed-off-by: David S. Miller --- Reading git-diff-tree failed