drm/amd/display: Remove set but not used variable 'source_bpp'
authorzhengbin <zhengbin13@huawei.com>
Sat, 5 Oct 2019 02:44:33 +0000 (10:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Oct 2019 20:10:34 +0000 (15:10 -0500)
commita1fc51477cd08f2380f98d98b34490205f4b8c6b
tree22ab8c076d63a5eeba233f61ff5272c7ef6b3501
parentb77095d5e1b5df2e38d15cd7ed180176b3284ba5
drm/amd/display: Remove set but not used variable 'source_bpp'

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

drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c: In function calc_rc_params:
drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c:180:6: warning: variable source_bpp set but not used [-Wunused-but-set-variable]

It is not used since commit 97bda0322b8a ("drm/amd/display:
Add DSC support for Navi (v2)")

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c