]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: remove set but not used variable 'dig_connector'
authorzhengbin <zhengbin13@huawei.com>
Fri, 15 Nov 2019 12:12:57 +0000 (20:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Nov 2019 15:12:54 +0000 (10:12 -0500)
commit30e173dfee122497f82fce5deee5a09688780ed5
tree51e49c39d5b0d3b8aa87c1dfa8e74b1d2834d6d4
parentac83c8c38e20d8c3bd06ab6a147ab52b93d6c53f
drm/radeon: remove set but not used variable 'dig_connector'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpu/drm/radeon/atombios_dp.c: In function radeon_dp_get_panel_mode:
drivers/gpu/drm/radeon/atombios_dp.c:415:36: warning: variable dig_connector set but not used [-Wunused-but-set-variable]

It is not used since commit 8e1c6d26e670 ("drm/radeon/dp:
switch to the common i2c over aux code")

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/atombios_dp.c