drm/gma500: remove set but not used variable 'htotal'
authorzhengbin <zhengbin13@huawei.com>
Fri, 15 Nov 2019 14:27:05 +0000 (22:27 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 15 Nov 2019 15:50:24 +0000 (16:50 +0100)
commitdfa703b6f91818fa9f652c00e3589c104c518930
treef33b8b90c14119ba0ff288749dfb785e2f299f13
parent8d938df2056253218555800ea39a6ec391669f18
drm/gma500: remove set but not used variable 'htotal'

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

drivers/gpu/drm/gma500/oaktrail_hdmi.c: In function htotal_calculate:
drivers/gpu/drm/gma500/oaktrail_hdmi.c:160:6: warning: variable htotal set but not used [-Wunused-but-set-variable]

It is introduced by commit 39ec748f7174 ("gma600: Enable HDMI support"),
but never used, so remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1573828027-122323-2-git-send-email-zhengbin13@huawei.com
drivers/gpu/drm/gma500/oaktrail_hdmi.c