summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2023-03-31 12:40:41 -0400
committerAlex Deucher <alexander.deucher@amd.com>2023-04-13 00:13:40 -0400
commite69c373c3f0c1888b4b758e37d05e2e7b76585f2 (patch)
treef0bc3c4313b989c1e4490e48b211c0b365cef5a0 /drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c
parent6246059a19d4cd32ef1af42a6ab016b779cd68c4 (diff)
drm/amd/pm: remove unused num_of_active_display variable
clang with W=1 reports drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:1700:6: error: variable 'num_of_active_display' set but not used [-Werror,-Wunused-but-set-variable] int num_of_active_display = 0; ^ This variable is not used so remove it. Fixes: 75145aab7a0d ("drm/amdgpu/swsmu: clean up a bunch of stale interfaces") Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Reviewed-by: Evan Quan <evan.quan@amd.com> Signed-off-by: Tom Rix <trix@redhat.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c')
0 files changed, 0 insertions, 0 deletions