From: Krishna Kumar Date: Mon, 16 Oct 2006 04:39:01 +0000 (+0530) Subject: RDMA/cma: Optimize cma_bind_loopback() to check for empty list X-Git-Tag: v2.6.20-rc1~34^2~40^2~471^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e82153b54d75af31d5d4a84efe441e5719f34cfc;p=pandora-kernel.git 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 Acked-by: Sean Hefty Signed-off-by: Roland Dreier --- Reading git-diff-tree failed