commit | e82153b54d75af31d5d4a84efe441e5719f34cfc | [log] [tgz] |
---|---|---|
author | Krishna Kumar <krkumar2@in.ibm.com> | Mon Oct 16 10:09:01 2006 +0530 |
committer | Roland Dreier <rolandd@cisco.com> | Wed Nov 29 15:33:04 2006 -0800 |
tree | cf4fad6438d0d8affa229af1fd02a754bf88450a | |
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>