drm/vmwgfx: Remove set but not used variable 'restart'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 1 Mar 2019 17:47:43 +0000 (09:47 -0800)
committerDeepak Rawat <drawat@vmware.com>
Mon, 8 Apr 2019 17:29:04 +0000 (10:29 -0700)
commitb2130cca9c8db5073b71d832da2a6c8311a8f3bb
tree1b2cfde5ecbd0de248a04bb171b955e1b89ae0fe
parenta9f58c456e9dde6f272e7be4d6bed607fd7008aa
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 dc366364c4ef ("drm/vmwgfx: Fix multiple
command buffer context use")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
Signed-off-by: Deepak Rawat <drawat@vmware.com>
Fixes: dc366364c4ef ("drm/vmwgfx: Fix multiple command buffer context use")
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c