Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/display: Remove redundant NULL check in DCE11 HWSS

We already check this a couple lines earlier.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Jordan Lazare <Jordan.Lazare@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Harry Wentland and committed by
Alex Deucher
5b92d9d4 78b56c52

+1 -2
+1 -2
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
··· 2017 2017 if (pipe_ctx->stream == pipe_ctx_old->stream) 2018 2018 continue; 2019 2019 2020 - if (pipe_ctx->stream && pipe_ctx_old->stream 2021 - && !pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) 2020 + if (pipe_ctx_old->stream && !pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) 2022 2021 continue; 2023 2022 2024 2023 if (pipe_ctx->top_pipe)