]> git.baikalelectronics.ru Git - kernel.git/commit
target: use list_move_tail instead of list_del/list_add_tail
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 5 Sep 2012 06:42:48 +0000 (14:42 +0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 18 Sep 2012 00:13:36 +0000 (17:13 -0700)
commitf88485f088d885b9601089dfaf9bc13e69851ab3
tree7e82aa014d6f7b7ee56da368e63596fd1e062ce6
parent35f7c2449da13f8003712d9fbf4c3cca8f035ce2
target: 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: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/sbp/sbp_target.c