diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2008-05-21 23:53:34 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-05-21 23:53:34 +0200 |
commit | 811102ca23dfdde5ee8b782b3a4bbff44c499cb2 (patch) | |
tree | 5572b81137018dc0ce931f6fcea46e0e090b762e /net/compat.c | |
parent | tipc: Prevent node object duplication due to simultaneous discovery (diff) | |
download | linux-811102ca23dfdde5ee8b782b3a4bbff44c499cb2.tar.xz linux-811102ca23dfdde5ee8b782b3a4bbff44c499cb2.zip |
tipc: Optimize null pointer check during neighbor discovery
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>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions