summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-11-12 10:10:50 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-11-13 15:29:46 -0500
commit025916c914d1efe1e077759d34e4bde25f10ae80 (patch)
treedefd0df5ad98833febfef7f53c96b85bbdc6de05 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
parent8c27a0c451803ce75a9027bac5138582cee5c335 (diff)
drm/amd/display: remove set but not used variable 'bpc'
Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c: In function get_pbn_from_timing: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:2364:11: warning: variable bpc set but not used [-Wunused-but-set-variable] It is not used since commit e49f69363adf ("drm/amd/display: use proper formula to calculate bandwidth from timing"), this also remove get_color_depth(), which is only used here. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions