Commit 6940db0f authored by Sergio Miguéns Iglesias's avatar Sergio Miguéns Iglesias Committed by Alex Deucher

drm/amdgpu: Removed unnecessary if statement

There was an "if" statement that did nothing so it was removed.
Signed-off-by: default avatarSergio Miguéns Iglesias <sergio@lony.xyz>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7b42552b
......@@ -273,9 +273,6 @@ static int amdgpufb_create(struct drm_fb_helper *helper,
return 0;
out:
if (abo) {
}
if (fb && ret) {
drm_gem_object_put(gobj);
drm_framebuffer_unregister_private(fb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment