mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
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>
This commit is contained in:
parent
78b56c5234
commit
5b92d9d409
1 changed files with 1 additions and 2 deletions
|
@ -2017,8 +2017,7 @@ enum dc_status dce110_apply_ctx_to_hw(
|
|||
if (pipe_ctx->stream == pipe_ctx_old->stream)
|
||||
continue;
|
||||
|
||||
if (pipe_ctx->stream && pipe_ctx_old->stream
|
||||
&& !pipe_need_reprogram(pipe_ctx_old, pipe_ctx))
|
||||
if (pipe_ctx_old->stream && !pipe_need_reprogram(pipe_ctx_old, pipe_ctx))
|
||||
continue;
|
||||
|
||||
if (pipe_ctx->top_pipe)
|
||||
|
|
Loading…
Reference in a new issue