]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit413f9ddb296562d3110dffb1d70e9548c979cc16
tree0d343c91fb991d0066749244712841cef2c0ba88
parent661dff44d98be6a89f32cc4a51d9693b93e057ec
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