diff options
author | 2020-04-30 11:40:32 +0800 | |
---|---|---|
committer | 2020-04-30 16:49:09 -0400 | |
commit | 509c58189c8d695ef9cd12093a22ddbd6cdb8d71 (patch) | |
tree | 9377d96e52d73ff065e3f36010f953a13d121aba /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | |
parent | drm/amd/display: remove set but not used variable 'dc' (diff) | |
download | linux-dev-509c58189c8d695ef9cd12093a22ddbd6cdb8d71.tar.xz linux-dev-509c58189c8d695ef9cd12093a22ddbd6cdb8d71.zip |
drm/amd/display: remove set but not used variable 'pixel_width'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c:137:11: warning: variable ‘pixel_width’ set but not used [-Wunused-but-set-variable]
It is introduced by commit 70ccab604049 ("drm/amdgpu/display:
Add core dc support for DCN"), but never used, so remove it.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions