drm/vmwgfx: Use list_move_tail instead of list_del/list_add_tail in vmwgfx_cmdbuf.c
authorBaokun Li <libaokun1@huawei.com>
Wed, 9 Jun 2021 07:18:03 +0000 (15:18 +0800)
committerZack Rusin <zackr@vmware.com>
Mon, 9 Aug 2021 20:49:48 +0000 (16:49 -0400)
commitaa841a99f240142409c31167f3a28e4c0a7ac108
tree393bf6b1c00e6e847eb3a54a683f07c2d7573d7e
parentd7bd351faabe848ec93d817a0520fcb9db12a89b
drm/vmwgfx: Use list_move_tail instead of list_del/list_add_tail in vmwgfx_cmdbuf.c

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

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Signed-off-by: Zack Rusin <zackr@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210609071803.1347254-1-libaokun1@huawei.com
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c