Skip to content
Commit 84c30d25 authored by Markus Elfring's avatar Markus Elfring Committed by Alex Deucher
Browse files

drm/amd/display: Return directly after a failed kzalloc() in dc_create()



* Return directly after a call of the function “kzalloc” failed
  at the beginning.

* Delete a label which became unnecessary with this refactoring.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ae279f69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment