drm/amd/display: remove set but not used variable 'core_freesync'
authorYueHaibing <yuehaibing@huawei.com>
Sun, 6 Oct 2019 10:57:35 +0000 (18:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Oct 2019 20:10:16 +0000 (15:10 -0500)
commit72caac6b62c291a095948a80995b9c40c3956796
treee673333435a92a101bc8a11c69c71b0180bc1b96
parent28d687eafeb655c3b0a58fd06437da1420892007
drm/amd/display: remove set but not used variable 'core_freesync'

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

rivers/gpu/drm/amd/amdgpu/../display/modules/freesync/freesync.c:
 In function mod_freesync_get_settings:
drivers/gpu/drm/amd/amdgpu/../display/modules/freesync/freesync.c:984:24:
 warning: variable core_freesync set but not used [-Wunused-but-set-variable]

It is not used since commit 98e6436d3af5 ("drm/amd/display: Refactor FreeSync module")

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/freesync/freesync.c