]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit666a32d3ea77e32467e8e626e6b6b8e3393991f0
treec3aca36fdb57d7b64aa5d5fdea0b7cf048c88dc7
parent1812df61d3ef6f2740fc3c007b3b72f8c3c4fb9f
[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