linux_dsm_epyc7002/drivers/gpu/drm/amd/powerplay
zhengbin f5ac159515 drm/amd/powerplay: remove set but not used variable 'threshold', 'state'
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c: In function fiji_populate_single_graphic_level:
drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c:943:11: warning: variable threshold set but not used [-Wunused-but-set-variable]
drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c: In function fiji_populate_memory_timing_parameters:
drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c:1504:8: warning: variable state set but not used [-Wunused-but-set-variable]

They are introduced by commit 2e112b4ae3 ("drm/amd/pp:
remove fiji_smc/smumgr split."), but never used,
so remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-11-13 15:29:45 -05:00
..
hwmgr drm/amd/powerplay: remove set but not used variable 'data' 2019-11-13 15:29:45 -05:00
inc drm/amd/powerplay: read pcie speed/width info (v2) 2019-11-13 15:29:42 -05:00
smumgr drm/amd/powerplay: remove set but not used variable 'threshold', 'state' 2019-11-13 15:29:45 -05:00
amd_powerplay.c drm/amd/powerplay: dynamically disable ds and ulv for compute 2019-11-08 12:30:17 -05:00
amdgpu_smu.c drm/amd/powerplay: read pcie speed/width info (v2) 2019-11-13 15:29:42 -05:00
arcturus_ppt.c drm/amdgpu/smu_v11: Unify and fix power limits 2019-11-11 17:38:14 -05:00
arcturus_ppt.h drm/amd/powerplay: update arcturus_ppt.c/h V3 2019-07-30 23:48:33 -05:00
Makefile drm/amdgpu/powerplay: add smu ip block for renoir (v2) 2019-08-22 17:36:58 -05:00
navi10_ppt.c drm/amd/powerplay: read pcie speed/width info (v2) 2019-11-13 15:29:42 -05:00
navi10_ppt.h drm/amd/powerplay: read pcie speed/width info (v2) 2019-11-13 15:29:42 -05:00
renoir_ppt.c drm/amd/powerplay: fix struct init in renoir_print_clk_levels 2019-11-06 16:27:48 -05:00
renoir_ppt.h drm/amd/powerplay: implement sysfs for getting dpm clock 2019-09-13 17:49:19 -05:00
smu_internal.h drm/amd/powerplay: clear the swSMU code layer 2019-10-25 16:50:10 -04:00
smu_v11_0.c drm/amdgpu/smu_v11: Unify and fix power limits 2019-11-11 17:38:14 -05:00
smu_v12_0.c drm/amd/powerplay: clear the swSMU code layer 2019-10-25 16:50:10 -04:00
vega20_ppt.c drm/amdgpu/smu_v11: Unify and fix power limits 2019-11-11 17:38:14 -05:00
vega20_ppt.h