]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: Remove set but not used variable 'tclk_trail'
authorzhengbin <zhengbin13@huawei.com>
Tue, 8 Oct 2019 07:15:47 +0000 (15:15 +0800)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 14 Oct 2019 11:20:44 +0000 (14:20 +0300)
commit11eb311f893fae9754431d5ab3741fbee390e4c3
treeb2e09f0cbcb5eb30514b3ba3e0214d536faf4a99
parent157d0a0811ef9c2c7da823afb2d99ba0c56f3a81
drm/omap: Remove set but not used variable 'tclk_trail'

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

drivers/gpu/drm/omapdrm/dss/dsi.c: In function dsi_proto_timings:
drivers/gpu/drm/omapdrm/dss/dsi.c:3562:46: warning: variable tclk_trail set but not used [-Wunused-but-set-variable]

It is not used since commit 47e4542a9caa ("drm/omap:
move omapdss & displays under omapdrm")

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1570518949-47574-3-git-send-email-zhengbin13@huawei.com
drivers/gpu/drm/omapdrm/dss/dsi.c