]> git.karo-electronics.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>
Thu, 6 Sep 2012 00:10:04 +0000 (17:10 -0700)
commit2c4d84b9824e979bb8a3c7d1b41ee28284704ab8
tree1538277d0ac011eb77b6071d33314ff694fd568e
parentfc371de60905352e05765f5a80b69c1d121f358c
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