]> Git Repo - linux.git/commit
drm/amd/display: Remove redundant checks for context
authorAlex Hung <[email protected]>
Fri, 7 Jun 2024 16:46:35 +0000 (10:46 -0600)
committerAlex Deucher <[email protected]>
Wed, 19 Jun 2024 16:46:08 +0000 (12:46 -0400)
commit391c6fb490b069b4f7c4620675c98f2d6073e050
treeac5bd0c7db12d66989ed12c202874da10166f7f0
parent8a1708328c60ebc0f402edb69fb8a5509b3511b3
drm/amd/display: Remove redundant checks for context

The null checks for context are redundant as it was already
dereferenced previously, as reported by Coverity; therefore
the null checks are removed.

This fixes 2 REVERSE_INULL issues reported by Coverity.

Reviewed-by: Harry Wentland <[email protected]>
Acked-by: Hamza Mahfooz <[email protected]>
Signed-off-by: Alex Hung <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.c
This page took 0.052317 seconds and 4 git commands to generate.