summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGleb Markov <markov.gi@npc-ksb.ru>2026-06-29 16:09:06 +0300
committerAlex Deucher <alexander.deucher@amd.com>2026-07-15 09:15:43 -0400
commitb736792e5bd4a62f24e8d1e310bf4a75bfbeaaaa (patch)
tree9ca42f0a0df735470ee928e89760871716356160 /tools/perf/scripts/python/export-to-postgresql.py
parent9835f031f08f087485d27a87e3cd2ef5841851d9 (diff)
drm/amd/display: Remove unused-but-set variable hubp from
The final check of hubp for NULL covers all remaining lines of code, since the value of hubp does not change until the end of the method. This check is redundant because hubp1 is already dereferenced within the macro. If it were NULL, the program would have already failed to proceed. Remove the left part of the expression with the logical "&&". Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: be1fb44389ca ("drm/amd/display: Check null pointers before used"). Signed-off-by: Gleb Markov <markov.gi@npc-ksb.ru> Reviewed-by: George Zhang <george.zhang@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