aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorTom Rix <[email protected]>2023-03-31 12:40:41 -0400
committerAlex Deucher <[email protected]>2023-04-13 00:13:40 -0400
commite69c373c3f0c1888b4b758e37d05e2e7b76585f2 (patch)
treef0bc3c4313b989c1e4490e48b211c0b365cef5a0 /drivers/gpu/drm/amd/amdgpu
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 <[email protected]> Reviewed-by: Evan Quan <[email protected]> Signed-off-by: Tom Rix <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions