diff options
author | 2019-11-04 21:27:23 +0800 | |
---|---|---|
committer | 2019-11-13 15:29:44 -0500 | |
commit | 5bea7fedb7fe4d5e6d3ba9f385dd3619fb004ce7 (patch) | |
tree | 37068de56c6e7f87c4474ba820304bb0c1d6e2ee /drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c | |
parent | drm/amdgpu: add function parameter description in 'amdgpu_gart_bind' (diff) | |
download | wireguard-linux-5bea7fedb7fe4d5e6d3ba9f385dd3619fb004ce7.tar.xz wireguard-linux-5bea7fedb7fe4d5e6d3ba9f385dd3619fb004ce7.zip |
drm/amdgpu: remove set but not used variable 'dig_connector'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/gpu/drm/amd/amdgpu/atombios_dp.c: In function
‘amdgpu_atombios_dp_get_panel_mode’:
drivers/gpu/drm/amd/amdgpu/atombios_dp.c:364:36: warning: variable
‘dig_connector’ set but not used [-Wunused-but-set-variable]
It is never used, so can be removed.
Fixes: d38ceaf99ed0 ("drm/amdgpu: add core driver (v4)")
Signed-off-by: yu kuai <yukuai3@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c')
0 files changed, 0 insertions, 0 deletions