diff options
author | Krishna Kumar <krkumar2@in.ibm.com> | 2006-10-16 00:39:01 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-11-29 18:33:04 -0500 |
commit | e82153b54d75af31d5d4a84efe441e5719f34cfc (patch) | |
tree | cf4fad6438d0d8affa229af1fd02a754bf88450a /init | |
parent | 0215ffb08ce99e2bb59eca114a99499a4d06e704 (diff) |
RDMA/cma: Optimize cma_bind_loopback() to check for empty list
Optimize to test for an empty list first. This ends up simplifying
the code too.
Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
Acked-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions