]> err.no Git - linux-2.6/commit
RDMA/nes: Use more concise list_for_each_entry()
authorRobert P. J. Day <rpjday@crashcourse.ca>
Thu, 17 Apr 2008 04:09:26 +0000 (21:09 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 17 Apr 2008 04:09:26 +0000 (21:09 -0700)
commit4e96a774407b98c8095cfbd6c7202cb7fdf0d7be
tree99aa2117761765b96ad921f73558f2d594eab333
parent157de229468b2a63bbc8f9a7d37c70a2c9731ac8
RDMA/nes: Use more concise list_for_each_entry()

In list iteration code, you normally wouldn't be calling
"container_of()" directly anyway, you'd be invoking "list_entry()".
But you don't even need that here, "list_for_each_entry()" is fine.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Acked-by: Glenn Streiff <gstreiff@neteffect.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/nes/nes_cm.c