diff options
| author | zhengbin <zhengbin13@huawei.com> | 2019-11-11 11:45:56 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2019-11-13 15:29:45 -0500 |
| commit | 4bf321c177c74f7d834956387cd74805c3098322 (patch) | |
| tree | 224511c619f1f35922f151524e312f219aa6ffd7 /tools/perf/scripts/python/stackcollapse.py | |
| parent | cb7709223b39287a020e92ff880d11d377dc53a1 (diff) | |
| download | linux-4bf321c177c74f7d834956387cd74805c3098322.tar.gz linux-4bf321c177c74f7d834956387cd74805c3098322.zip | |
drm/amd/powerplay: remove set but not used variable 'data'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c: In function vega10_get_performance_level:
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c:5217:23: warning: variable data set but not used [-Wunused-but-set-variable]
'data' is introduced by commit f688b614b643 ("drm/amd/pp:
Implement get_performance_level for legacy dgpu"), but never used,
so remove it.
Reviewed-by: Evan Quan <evan.quan@amd.com>
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
