[SCTP]: "list_for_each()" -> "list_for_each_entry()" where appropriate.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Sun, 13 Apr 2008 01:54:24 +0000 (18:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 Apr 2008 01:54:24 +0000 (18:54 -0700)
commit9dbc15f055f05393ace4f1733f160ec3d188cf9b
treec3aca36fdb57d7b64aa5d5fdea0b7cf048c88dc7
parent30e935600776b45db38238355f0de2b8f72b3847
[SCTP]: "list_for_each()" -> "list_for_each_entry()" where appropriate.

Replacing (almost) all invocations of list_for_each() with
list_for_each_entry() tightens up the code and allows for the deletion
of numerous list iterator variables that are no longer necessary.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/associola.c
net/sctp/bind_addr.c
net/sctp/outqueue.c
net/sctp/proc.c
net/sctp/sm_make_chunk.c
net/sctp/sm_sideeffect.c
net/sctp/sm_statefuns.c
net/sctp/socket.c