misc: bcm-vk: use list_move_tail instead of list_del/list_add_tail in bcm_vk_msg.c
authorBaokun Li <libaokun1@huawei.com>
Wed, 9 Jun 2021 07:14:30 +0000 (15:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jun 2021 12:52:16 +0000 (14:52 +0200)
commit20827dddf27d433e45703a4f9bf0a66ab957dd0c
tree9489383ee40e021c68c726f3e55e33d3f9248210
parent432b6c56075071c5614beb895e4d9ba9fb378d3d
misc: bcm-vk: use list_move_tail instead of list_del/list_add_tail in bcm_vk_msg.c

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

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Link: https://lore.kernel.org/r/20210609071430.1337400-1-libaokun1@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/bcm-vk/bcm_vk_msg.c