]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Remove duplicate null check
authorAlex Hung <alex.hung@amd.com>
Sat, 15 Jun 2024 01:06:59 +0000 (19:06 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2024 21:10:38 +0000 (17:10 -0400)
commitbc180e26837ec238d05d7c7ac05d73ee35dc1076
tree273050a0c2a7ffa5c7e64e74006effaaf4c48342
parent4de670dcdef04feee864a110dd6c1737f29f6dd0
drm/amd/display: Remove duplicate null check

[WHAT & HOW]
The same display null check was a few lines above.

This fixes 1 DEADCODE issue 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>
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c