summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-01-03 15:02:32 +0100
committerAlex Deucher <alexander.deucher@amd.com>2021-01-05 11:34:23 -0500
commitf01afd1ee48816457fb22e201f1d0cfb14589904 (patch)
tree5ccd31111a9387e00833d02b9b7412e6f454a2f5 /tools/perf/scripts/python/export-to-postgresql.py
parente689f7167ec42460e17f02b0a83dd463be88c480 (diff)
drm/amd/display: Fix unused variable warning
Some of the newly added code is hidden inside of #ifdef blocks, but one variable is unused when debugfs is disabled: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:8370:8: error: unused variable 'configure_crc' [-Werror,-Wunused-variable] Change the #ifdef to an if(IS_ENABLED()) check to fix the warning and avoid adding more #ifdefs. Fixes: c920888c604d ("drm/amd/display: Expose new CRC window property") Reviewed-by: Wayne Lin <Wayne.Lin@amd.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions