diff options
| author | 2019-11-12 10:10:50 +0800 | |
|---|---|---|
| committer | 2019-11-13 15:29:46 -0500 | |
| commit | 025916c914d1efe1e077759d34e4bde25f10ae80 (patch) | |
| tree | defd0df5ad98833febfef7f53c96b85bbdc6de05 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |
| parent | drm/amdkfd: Stop using GFP_NOIO explicitly for two places (diff) | |
| download | wireguard-linux-025916c914d1efe1e077759d34e4bde25f10ae80.tar.xz wireguard-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/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions
