Re: [PATCH][next] drm/vmwgfx: remove redundant assignment to sub_res

2019-07-01 Thread Deepak Singh Rawat
Hi Colin, Reviewed-by: Deepak Rawat Thanks, Deepak On Mon, 2019-06-24 at 23:44 +0100, Colin King wrote: > From: Colin Ian King > > Variable sub_res is initialized to a value that is never read and it > is re-assigned later in a for-loop. The initialization is redundant > and can be removed.

[PATCH][next] drm/vmwgfx: remove redundant assignment to sub_res

2019-06-24 Thread Colin King
From: Colin Ian King Variable sub_res is initialized to a value that is never read and it is re-assigned later in a for-loop. The initialization is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 2