dmaengine: sun4i: Use list_move_tail instead of list_del/list_add_tail
authorZou Wei <zou_wei@huawei.com>
Mon, 7 Jun 2021 03:20:35 +0000 (11:20 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 7 Jun 2021 11:36:38 +0000 (17:06 +0530)
commit2e5c09d19e63726a88ccd7a71256fec8a716551e
tree68c0530c9dcea608745ae1aea7c0d8ddbca6704f
parent340ad031887b89af4467ee078e22d24aad0d8401
dmaengine: sun4i: 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: Zou Wei <zou_wei@huawei.com>
Acked-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/1623036035-30614-1-git-send-email-zou_wei@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sun4i-dma.c