dmaengine: idxd: Use list_move_tail instead of list_del/list_add_tail
authorBixuan Cui <cuibixuan@huawei.com>
Wed, 8 Sep 2021 09:28:26 +0000 (17:28 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 25 Oct 2021 06:37:42 +0000 (12:07 +0530)
commitee5c6f0ca219b65f5085043d481d9b6f045693d5
tree78d10fd3fce1ca0701cac0fb1b972344e662fb79
parentb3b180e735409ca0c76642014304b59482e0e653
dmaengine: idxd: 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: Bixuan Cui <cuibixuan@huawei.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20210908092826.67765-1-cuibixuan@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/idxd/irq.c