diff options
| author | YueHaibing <[email protected]> | 2019-10-06 10:57:35 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-10-07 20:10:16 +0000 |
| commit | 72caac6b62c291a095948a80995b9c40c3956796 (patch) | |
| tree | e673333435a92a101bc8a11c69c71b0180bc1b96 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amd/display: Fix typo in some comments (diff) | |
| download | kernel-72caac6b62c291a095948a80995b9c40c3956796.tar.gz kernel-72caac6b62c291a095948a80995b9c40c3956796.zip | |
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 <[email protected]>
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: YueHaibing <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
