drm/vmwgfx: Remove set but not used variable 'fb_offset, fb_depth'
authorYueHaibing <yuehaibing@huawei.com>
Mon, 25 Mar 2019 17:32:17 +0000 (10:32 -0700)
committerDeepak Rawat <drawat@vmware.com>
Mon, 8 Apr 2019 17:29:05 +0000 (10:29 -0700)
commitc601b12fb634e2d0c2669706b38dba98a3c3a832
tree4e9f658205644c230eb85fe771f3452471ef753e
parenta5020f4f537ff1a0b73ea4eb78be185c34b261ae
drm/vmwgfx: Remove set but not used variable 'fb_offset, fb_depth'

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

drivers/gpu/drm/vmwgfx/vmwgfx_fb.c: In function 'vmw_fb_init':
drivers/gpu/drm/vmwgfx/vmwgfx_fb.c:645:29: warning:
 variable 'fb_offset' set but not used [-Wunused-but-set-variable]

drivers/gpu/drm/vmwgfx/vmwgfx_fb.c:645:19: warning:
 variable 'fb_depth' set but not used [-Wunused-but-set-variable]

They're not used any more, so can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
Signed-off-by: Deepak Rawat <drawat@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_fb.c