drm/amd/display: remove redundant check

Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Charlene Liu
2017-03-20 14:49:53 -04:00
committed by Alex Deucher
parent 7e2fe3190d
commit 2fc67983fb

View File

@@ -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;