Skip to content
Unverified Commit 33e99b65 authored by Baokun Li's avatar Baokun Li Committed by Peter Chen
Browse files

usb: cdns3: cdns3-gadget: Use list_move_tail instead of list_del/list_add_tail



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

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarBaokun Li <libaokun1@huawei.com>
Link: https://lore.kernel.org/r/20210609072720.1358527-1-libaokun1@huawei.com


Signed-off-by: default avatarPeter Chen <peter.chen@kernel.org>
parent 3496993d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment