OSDN Git Service

drm/amd/display: Remove superfluous assert
authorJordan Lazare <Jordan.Lazare@amd.com>
Fri, 27 Sep 2019 18:39:01 +0000 (14:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Oct 2019 20:50:07 +0000 (16:50 -0400)
commit7bceac811c3b257ffb961668cf2069ab0001f7ac
treeaa24f81ef08e87c1f49e1fd635558470de16c06d
parent6ac48490baec36aa58f246145d9671a916011c4e
drm/amd/display: Remove superfluous assert

[Why]
For loop below the assert already checks for the number of instances to
create. ASSERT is meaningless and causing spam.

[How]
dd

Signed-off-by: Jordan Lazare <Jordan.Lazare@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c