drm/selftests/test-drm_framebuffer: Remove set but unused variable 'fb'
authorLee Jones <lee.jones@linaro.org>
Mon, 16 Nov 2020 17:40:58 +0000 (17:40 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Nov 2020 19:05:12 +0000 (20:05 +0100)
commitdfa6082bb979611ea6e72b32878313f949590d17
treee5b4d90231b1e859c4dcb476417e40ecadc0b6c2
parent7df5428975e97818b30d2b800c9e8b0734ea8da9
drm/selftests/test-drm_framebuffer: Remove set but unused variable 'fb'

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/selftests/test-drm_framebuffer.c: In function ‘execute_drm_mode_fb_cmd2’:
 drivers/gpu/drm/selftests/test-drm_framebuffer.c:333:26: warning: variable ‘fb’ set but not used [-Wunused-but-set-variable]

Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20201116174112.1833368-29-lee.jones@linaro.org
drivers/gpu/drm/selftests/test-drm_framebuffer.c