diff options
author | 2024-06-06 14:43:36 -0600 | |
---|---|---|
committer | 2024-06-27 17:10:36 -0400 | |
commit | cd80e7ee47d2fd5c97563c003ff31ce8240ca2d8 (patch) | |
tree | 815f887601eeb585ef00940dd2df3139f45b26ac /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | |
parent | drm/amd/display: Send DP_TOTAL_LTTPR_CNT during detection if LTTPR is present (diff) | |
download | linux-rng-cd80e7ee47d2fd5c97563c003ff31ce8240ca2d8.tar.xz linux-rng-cd80e7ee47d2fd5c97563c003ff31ce8240ca2d8.zip |
drm/amd/display: Remove redundant checks for pipe_ctx->stream
[WHAT & HOW]
The null checks for pipe_ctx->stream and pipe_ctx->stream_res.tg
are redundant as they were already dereferenced previously, as
reported by Coverity; therefore the null checks are removed.
This fixes 6 REVERSE_INULL 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 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c')
0 files changed, 0 insertions, 0 deletions