]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitbf11eefcb1dc1326341ebdc44566ad08bee3f539
tree7e82aa014d6f7b7ee56da368e63596fd1e062ce6
parent06cda529d27d778f55690d5b09af8ae4448e796b
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