]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Remove redundant null check
authorAlex Hung <alex.hung@amd.com>
Mon, 14 Apr 2025 16:00:59 +0000 (10:00 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 May 2025 16:54:32 +0000 (12:54 -0400)
commit19860f49393dde1997f0487378e4cfee8b14d5c0
tree55dda38742c479b3b0ffe3ca895b62b78fa1b466
parent48337bd15c36c47b916e40a81f3bb87f39211769
drm/amd/display: Remove redundant null check

[WHY & HOW]
The null check for connector was dereferenced previously in the same
function and the caller.

Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c