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

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

drivers/gpu/drm/radeon/radeon_legacy_tv.c: In function radeon_legacy_tv_mode_set:
drivers/gpu/drm/radeon/radeon_legacy_tv.c:538:24: warning: variable tv_pll_cntl1 set but not used [-Wunused-but-set-variable]

It is introduced by commit c4bef31c7670 ("drm/radeon/kms:
add initial radeon tv-out support."), but never used,
so remove it.

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/radeon_legacy_tv.c