diff options
| author | Tom Rix <[email protected]> | 2023-03-31 16:40:41 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-04-13 04:13:40 +0000 |
| commit | e69c373c3f0c1888b4b758e37d05e2e7b76585f2 (patch) | |
| tree | f0bc3c4313b989c1e4490e48b211c0b365cef5a0 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h | |
| parent | drm/amdgpu: simplify amdgpu_ras_eeprom.c (diff) | |
| download | kernel-e69c373c3f0c1888b4b758e37d05e2e7b76585f2.tar.gz kernel-e69c373c3f0c1888b4b758e37d05e2e7b76585f2.zip | |
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/amdgpu_irq.h')
0 files changed, 0 insertions, 0 deletions
