Skip to content
Commit b2130cca authored by YueHaibing's avatar YueHaibing Committed by Deepak Rawat
Browse files

drm/vmwgfx: Remove set but not used variable 'restart'



Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c: In function 'vmw_cmdbuf_work_func':
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c:514:7: warning:
 variable 'restart' set but not used [-Wunused-but-set-variable]

It not used any more after commit dc366364 ("drm/vmwgfx: Fix multiple
command buffer context use")

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Reviewed-by: default avatarDeepak Rawat <drawat@vmware.com>
Signed-off-by: default avatarDeepak Rawat <drawat@vmware.com>
Fixes: dc366364 ("drm/vmwgfx: Fix multiple command buffer context use")
parent a9f58c45
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment