diff options
author | Alex Hung <alex.hung@amd.com> | 2024-08-29 16:35:51 -0600 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-09-18 16:15:08 -0400 |
commit | b6499840cafca25175f43ebd601913bf31d06f16 (patch) | |
tree | 6ef9cc660b79c05d8cb32eb59bfb9104d48d7100 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ff599ef6970ee000fa5bc38d02fa5ff5f3fc7575 (diff) |
drm/amd/display: Remove always-false branches
[WHAT & HOW]
req128_c is always set to false and its branch is never taken.
Similarly, MacroTileSizeBytes is set to either 256 or 65535 and it is
never 4096 and it's branch is not taken.
Therefore, their branches are removed.
This fixes 3 DEADCODE issues reported by Coverity.
Acked-by: Alex Hung <alex.hung@amd.com>
Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions