qed: Use list_move_tail instead of list_del/list_add_tail
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 17 Oct 2016 15:17:51 +0000 (15:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Oct 2016 20:40:41 +0000 (16:40 -0400)
commitb4f0fd4baa90ecce798e0d26d1cce8f4457f2028
treea0705b9cf636f1cc48f4da8b7307a8d8ee85acaa
parentecf244f753e09486707843f2b7b1874f33027038
qed: Use list_move_tail instead of list_del/list_add_tail

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

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_ll2.c