]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsi: remove set but not used variable 'hfront_porch'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 19 Jul 2019 01:51:36 +0000 (01:51 +0000)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 19 Jul 2019 17:20:24 +0000 (20:20 +0300)
commit3dbbd71673f3fa36eacb98af689a28f6bd12d6c9
tree0546822cd5ed7c5ccbd48094a229ec120959e700
parentdd70d4216dadb565d91b59527a4417fd3d38aeb6
drm/i915/dsi: remove set but not used variable 'hfront_porch'

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

drivers/gpu/drm/i915/display/icl_dsi.c: In function 'gen11_dsi_set_transcoder_timings':
drivers/gpu/drm/i915/display/icl_dsi.c:768:6: warning:
 variable 'hfront_porch' set but not used [-Wunused-but-set-variable]

It is never used and can be removed.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190719015136.103988-1-yuehaibing@huawei.com
drivers/gpu/drm/i915/display/icl_dsi.c