diff options
author | Alex Hung <alex.hung@amd.com> | 2024-06-15 04:10:40 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-28 00:10:38 +0300 |
commit | 4de670dcdef04feee864a110dd6c1737f29f6dd0 (patch) | |
tree | c5f32e733a3d5e48b6880e096ce6dae36fdc5b4c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 673f816b9e1e92d1f70e1bf5f21b531e0ff9ad6c (diff) | |
download | linux-4de670dcdef04feee864a110dd6c1737f29f6dd0.tar.xz |
drm/amd/display: Remove always true condition
[WHAT & HOW]
advanced_pstate_switching was initialized to false and never assigned to
another value; as a result !advanced_pstate_switching is always true and
should be removed.
This fixes 2 DEADCODE issues reported by Coverity.
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions