scsi: lpfc: Use list_move_tail() instead of list_del()/list_add_tail()
authorZou Wei <zou_wei@huawei.com>
Tue, 8 Jun 2021 00:51:33 +0000 (08:51 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 16 Jun 2021 02:25:56 +0000 (22:25 -0400)
commit47018083602326462f2a254d1935a8fd3b758c6b
treeac3edc8902cc1fdc615f7107bf7f5168249d394c
parent52e1b3b3daa9d53f0204bf474ee1d4b1beb38234
scsi: lpfc: Use list_move_tail() instead of list_del()/list_add_tail()

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

Link: https://lore.kernel.org/r/1623113493-49384-1-git-send-email-zou_wei@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Reviewed-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_sli.c