svga: remove duplicated code
authorMarcin Ślusarz <marcin.slusarz@intel.com>
Tue, 15 Dec 2020 14:40:50 +0000 (15:40 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 18 Dec 2020 01:46:00 +0000 (01:46 +0000)
commitbec34639773c305bc9129c92d3dd4dcc505adadb
tree0f57cf67020f4ff34c5d8e1baaa469e3529fe78c
parent8513b12590cf65f77c16a59774de2d268e5de5f9
svga: remove duplicated code

list_del unconditionally sets "next" and "prev" to NULL.

Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8110>
src/gallium/drivers/svga/svga_resource_buffer_upload.c