drm/vkms: Remove set but not used variable 'vkms_obj'
authorYueHaibing <yuehaibing@huawei.com>
Sat, 1 Dec 2018 03:20:44 +0000 (03:20 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 Dec 2018 10:47:27 +0000 (11:47 +0100)
commit77e9c35acd5f9ebc5ab211785e25da880ccdd5fc
treedec1a12ab85652e184a0d1a0360975473f95b9fe
parent97f2930f5b13585c9f151cedca021be110804cc3
drm/vkms: Remove set but not used variable 'vkms_obj'

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

drivers/gpu/drm/vkms/vkms_plane.c: In function 'vkms_prepare_fb':
drivers/gpu/drm/vkms/vkms_plane.c:144:26: warning:
 variable 'vkms_obj' set but not used [-Wunused-but-set-variable]

It never used since introduction in commit
8ce1bb0b5337 ("drm/vkms: map/unmap buffers in [prepare/cleanup]_fb hooks")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1543634444-186448-1-git-send-email-yuehaibing@huawei.com
drivers/gpu/drm/vkms/vkms_plane.c