提交 2fc67983 编写于 作者: C Charlene Liu 提交者: Alex Deucher

drm/amd/display: remove redundant check

Signed-off-by: NCharlene Liu <charlene.liu@amd.com>
Acked-by: NHarry Wentland <Harry.Wentland@amd.com>
Reviewed-by: NCharlene Liu <Charlene.Liu@amd.com>
Reviewed-by: NAnthony Koo <Anthony.Koo@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 7e2fe319
......@@ -1063,8 +1063,6 @@ static bool are_stream_backends_same(
if (stream_a == NULL || stream_b == NULL)
return false;
if (stream_a->public.timing.pixel_encoding != stream_b->public.timing.pixel_encoding)
return false;
if (is_timing_changed(stream_a, stream_b))
return false;
......@@ -1074,8 +1072,6 @@ static bool are_stream_backends_same(
bool is_stream_unchanged(
const struct core_stream *old_stream, const struct core_stream *stream)
{
if (old_stream != stream)
return false;
if (!are_stream_backends_same(old_stream, stream))
return false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册