drm/amd/display: remove invalid assert when no max_pixel_clk is found
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Mon, 28 May 2018 22:09:52 +0000 (18:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:38:30 +0000 (16:38 -0500)
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c

index 34eb7a33851b2b34e6c8ec77ee82eeaa581e6281..4cdf86690d19d38ca52613aa7fa9a1067b94f28a 100644 (file)
@@ -1779,9 +1779,6 @@ static uint32_t get_max_pixel_clock_for_all_paths(
                                pipe_ctx->stream_res.pix_clk_params.requested_pix_clk;
        }
 
-       if (max_pix_clk == 0)
-               ASSERT(0);
-
        return max_pix_clk;
 }