dmaengine: xilinx_dma: Use list_move_tail instead of list_del/list_add_tail
authorBaokun Li <libaokun1@huawei.com>
Tue, 8 Jun 2021 03:09:05 +0000 (11:09 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 28 Jul 2021 06:35:06 +0000 (12:05 +0530)
commit75ba9a715cb65e9c3fb17f13929d8741e570795f
treeae4aba6f72e8b838e8750ddf0f7c0c76282dd2a8
parentc28d5d5688c6278a1ad32670cbee35802a9e65c1
dmaengine: xilinx_dma: 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>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Link: https://lore.kernel.org/r/20210608030905.2818831-1-libaokun1@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xilinx_dma.c