diff options
| author | Arnd Bergmann <[email protected]> | 2019-09-18 19:53:58 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-10-02 17:58:33 +0000 |
| commit | 148d31e38fb37ba442f9b554325114b9e80cf336 (patch) | |
| tree | 4661d1f91e7e6c238509bd58f59141f7e646dcb0 /net/unix/af_unix.c | |
| parent | drm/amdgpu: display_mode_vba_21: remove uint typedef (diff) | |
| download | kernel-148d31e38fb37ba442f9b554325114b9e80cf336.tar.gz kernel-148d31e38fb37ba442f9b554325114b9e80cf336.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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
