diff options
| author | YueHaibing <yuehaibing@huawei.com> | 2019-11-12 10:10:50 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2019-11-13 15:29:46 -0500 |
| commit | 025916c914d1efe1e077759d34e4bde25f10ae80 (patch) | |
| tree | defd0df5ad98833febfef7f53c96b85bbdc6de05 /drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | |
| parent | 8c27a0c451803ce75a9027bac5138582cee5c335 (diff) | |
| download | blackbird-op-linux-025916c914d1efe1e077759d34e4bde25f10ae80.tar.gz blackbird-op-linux-025916c914d1efe1e077759d34e4bde25f10ae80.zip | |
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/gfx_v6_0.c')
0 files changed, 0 insertions, 0 deletions

