diff options
| author | Ivan Lipski <ivlipski@amd.com> | 2024-06-07 10:10:38 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-27 17:10:35 -0400 |
| commit | 4fa0046f11d998c39689ece909b912527081e558 (patch) | |
| tree | d203fee46fc20e1d466a9dbb0a9ac294d02e7493 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | drm/amd/display: Refactor dccg401_get_other_enable_symclk_fe (diff) | |
| download | linux-4fa0046f11d998c39689ece909b912527081e558.tar.gz linux-4fa0046f11d998c39689ece909b912527081e558.zip | |
drm/amd/display: Remove redundant var from display_rq_dig_calc in dml
[WHY]
Coverity analysis flagged these files as containing DEADCODE, i. e.
redundant or unreachabale. In these files, variable 'mode_422' is
always the same file (0 or false), so any code logic with it is
redundant.
[HOW]
Removed 'mode_422' variable and all code with it from
'display_rq_dlg_calc_' functions in dml.
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Ivan Lipski <ivlipski@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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
