drm: Remove set but not used variable 'config'
authorYueHaibing <yuehaibing@huawei.com>
Tue, 11 Sep 2018 06:20:14 +0000 (06:20 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 11 Sep 2018 07:34:27 +0000 (09:34 +0200)
commit5248092ea47d378a63b27a2ee0c361c9448958e9
tree1bc1a6cc168123f2a9e0a542e546d0751a37a65e
parent7f3ef5dedb146e3d5063b6845781ad1bb59b92b5
drm: Remove set but not used variable 'config'

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

drivers/gpu/drm/drm_plane.c: In function 'drm_mode_getplane_res':
drivers/gpu/drm/drm_plane.c:475:26: warning:
 variable 'config' set but not used [-Wunused-but-set-variable]

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