drm/komeda: remove set but not used variable 'old'
authorYueHaibing <yuehaibing@huawei.com>
Mon, 22 Jul 2019 05:56:27 +0000 (13:56 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 23 Jul 2019 07:04:49 +0000 (09:04 +0200)
commit513be3334431ec5c645e9e8c3ee7fdc7c03e99a1
tree160e90fb9f707d393f27771b0da8a031cc921a7c
parentd808097627e51d53cf9b1aa13239b5c4a6adaefb
drm/komeda: remove set but not used variable 'old'

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

drivers/gpu/drm/arm/display/komeda/komeda_plane.c:
 In function komeda_plane_atomic_duplicate_state:
drivers/gpu/drm/arm/display/komeda/komeda_plane.c:161:35:
 warning: variable old set but not used [-Wunused-but-set-variable

It is not used since commit 990dee3aa456 ("drm/komeda:
Computing image enhancer internally")

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190722055627.38008-1-yuehaibing@huawei.com
drivers/gpu/drm/arm/display/komeda/komeda_plane.c