drm/komeda: remove set but not used variable 'kcrtc'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 26 Apr 2019 16:42:02 +0000 (00:42 +0800)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Thu, 6 Jun 2019 07:59:41 +0000 (08:59 +0100)
commit7cb8bec205258601af2810f4f1998a207340e73c
tree86f3aff33d3b850926b184c9d91f545bc64df73e
parent1c810739097fdeb31b393b67a0a1e3d7ffdd9f63
drm/komeda: remove set but not used variable 'kcrtc'

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

drivers/gpu/drm/arm/display/komeda/komeda_plane.c: In function komeda_plane_atomic_check:
drivers/gpu/drm/arm/display/komeda/komeda_plane.c:49:22: warning: variable kcrtc set but not used [-Wunused-but-set-variable]

It is never used since introduction in
commit 9e5603094176 ("drm/komeda: Add komeda_plane/plane_helper_funcs")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
drivers/gpu/drm/arm/display/komeda/komeda_plane.c