diff options
| author | Arnd Bergmann <[email protected]> | 2019-09-18 19:53:58 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-10-03 14:11:00 +0000 |
| commit | f0ee9b184c48ea03b613135517a19fc07e70c784 (patch) | |
| tree | af1b22e3440b6a906dc1ce8702626c9cc7d10112 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | drm/amdgpu: enable full ras by default (diff) | |
| download | kernel-f0ee9b184c48ea03b613135517a19fc07e70c784.tar.gz kernel-f0ee9b184c48ea03b613135517a19fc07e70c784.zip | |
drm/amd/display: hide an unused variable
Without CONFIG_DEBUG_FS, we get a warning for an unused
variable:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:6020:33: error: unused variable 'source' [-Werror,-Wunused-variable]
Hide the variable in an #ifdef like its only users.
Fixes: 14b2584636c6 ("drm/amd/display: add functionality to grab DPRX CRC entries.")
Reviewed-by: Harry Wentland <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
