tipc: Optimize null pointer check during neighbor discovery
authorAllan Stephens <allan.stephens@windriver.com>
Wed, 21 May 2008 21:53:34 +0000 (14:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 May 2008 21:53:34 +0000 (14:53 -0700)
This patch optimizes TIPC neighbor discovery code to avoid testing for
a null node pointer when the pointer is already known to be non-null.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found