diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2008-04-16 21:09:26 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-04-16 21:09:26 -0700 |
commit | 4e96a774407b98c8095cfbd6c7202cb7fdf0d7be (patch) | |
tree | 99aa2117761765b96ad921f73558f2d594eab333 /drivers/infiniband/hw/ipath/ipath_common.h | |
parent | 157de229468b2a63bbc8f9a7d37c70a2c9731ac8 (diff) |
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>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_common.h')
0 files changed, 0 insertions, 0 deletions