dmaengine: fsl-dpaa2-qdma: Use list_move_tail instead of list_del/list_add_tail
authorBaokun Li <libaokun1@huawei.com>
Wed, 9 Jun 2021 07:28:02 +0000 (15:28 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 28 Jul 2021 06:36:22 +0000 (12:06 +0530)
commitdf208d63cfc5128529059d28565bd8754da2dbd5
tree9262a828b66bba0b04bc53274812e98f9abc27c8
parent75ba9a715cb65e9c3fb17f13929d8741e570795f
dmaengine: fsl-dpaa2-qdma: Use list_move_tail instead of list_del/list_add_tail

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

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Link: https://lore.kernel.org/r/20210609072802.1368785-1-libaokun1@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c