]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: use list_move_tail instead of list_del/list_add_tail
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 3 Sep 2012 23:58:16 +0000 (23:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Sep 2012 18:16:13 +0000 (14:16 -0400)
commite3ae8e2620212549fff95462dcf067e5b0ae5bf7
treebd64976c76b3de2795a1aef1a68dbc5557c952cd
parent86c215ec1c4e8ac019cb585894268df39acd4c8c
sctp: use list_move_tail instead of list_del/list_add_tail

Using list_move_tail() instead of list_del() + list_add_tail().

spatch with a semantic match is used to found this problem.
(http://coccinelle.lip6.fr/)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/outqueue.c