net: hns3: use list_move_tail instead of list_del/list_add_tail in hclgevf_main.c
authorBaokun Li <libaokun1@huawei.com>
Wed, 9 Jun 2021 07:17:20 +0000 (15:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jun 2021 20:55:38 +0000 (13:55 -0700)
commit49768ce98c2c1766619dfd6d157dd87826738fa7
tree0d343c91fb991d0066749244712841cef2c0ba88
parent39c3783ec062231b6befc193742161af33e17d88
net: hns3: use list_move_tail instead of list_del/list_add_tail in hclgevf_main.c

Using list_move_tail() instead of list_del() + list_add_tail() in hclgevf_main.c.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c