diff options
| author | zhengbin <zhengbin13@huawei.com> | 2019-11-11 12:09:28 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2019-11-13 15:29:45 -0500 |
| commit | f5ac1595156a8b63812ed6fa0803ddf7207cced7 (patch) | |
| tree | e6e2ea02b37e64dae37978281236e52d274953ac /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 39a502c882e5a571041bb2e2b5b2c7f883c6505d (diff) | |
| download | linux-f5ac1595156a8b63812ed6fa0803ddf7207cced7.tar.gz linux-f5ac1595156a8b63812ed6fa0803ddf7207cced7.zip | |
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 2e112b4ae3ba ("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>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
