]> asedeno.scripts.mit.edu Git - linux.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)
commitdc9b3dbd28744510b78490dc6312848a8f918749
treea56986bc7e978ec82053abd949320252df4476c2
parent77441f77949807fda4a0aec0bdf3e86ae863fd56
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 4ce001abafaf ("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