diff options
| author | Alex Hung <alex.hung@amd.com> | 2024-06-14 19:10:40 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-27 17:10:38 -0400 |
| commit | 4de670dcdef04feee864a110dd6c1737f29f6dd0 (patch) | |
| tree | c5f32e733a3d5e48b6880e096ce6dae36fdc5b4c /tools/perf/scripts/python/bin | |
| parent | drm/amd/display: Validate function returns (diff) | |
| download | linux-4de670dcdef04feee864a110dd6c1737f29f6dd0.tar.gz linux-4de670dcdef04feee864a110dd6c1737f29f6dd0.zip | |
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/bin')
0 files changed, 0 insertions, 0 deletions
