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)
commit3f47f0301594c4f930a32bd7d8125cfdeb6b4b6e
tree51e49c39d5b0d3b8aa87c1dfa8e74b1d2834d6d4
parentac52caecbcf2c30ce95b2536c1caf2643c49b91c
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 379dfc25e257 ("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