OSDN Git Service

drm/omap: remove set but not used variable 'frame_height'
authorYueHaibing <yuehaibing@huawei.com>
Tue, 11 Sep 2018 12:00:53 +0000 (12:00 +0000)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 2 Oct 2018 06:36:56 +0000 (09:36 +0300)
commit3a75010cecc93d299aec56caae8516ea40287a98
tree69beb91c5dff23a53861389c335d95931c512200
parent993d52e2f71560d539b3f194be2970eb9d8ce9c1
drm/omap: remove set but not used variable 'frame_height'

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

drivers/gpu/drm/omapdrm/dss/dispc.c: In function 'dispc_ovl_setup_common':
drivers/gpu/drm/omapdrm/dss/dispc.c:2627:19: warning:
 variable 'frame_height' set but not used [-Wunused-but-set-variable]

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/dss/dispc.c