Commit c6b42942 authored by Baokun Li's avatar Baokun Li Committed by Zheng Zengkai
Browse files

net: hns3: use list_move_tail instead of list_del/list_add_tail in hclge_main.c

mainline inclusion
from mainline-master
commit 4724acc4
category: feature
bugzilla: 173966
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4724acc47c9441ec1e131299853d1a9e8c3fb2cd



----------------------------------------------------------------------

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

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarBaokun Li <libaokun1@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Reviewed-by: default avatarYongxin Li <liyongxin1@huawei.com>
Signed-off-by: default avatarJunxin Chen <chenjunxin1@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 3b75f7d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment