From: Bart Van Assche Date: Mon, 30 Aug 2010 19:27:40 +0000 (+0000) Subject: IB/srp: Use list_first_entry() X-Git-Tag: v2.6.37-rc1~95^2^12~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21c1a90769e680e7c1f49bae4c5804cf0c7bc814;p=pandora-kernel.git IB/srp: Use list_first_entry() Use the list_first_entry() macro in ib_srp instead of open-coding the equivalent, which makes the source code slightly more descriptive. The list_first_entry() macro itself was introduced in kernel 2.6.22. Signed-off-by: Bart Van Assche Signed-off-by: David Dillow Signed-off-by: Roland Dreier --- Reading git-diff-tree failed