mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-18 00:24:58 +08:00
drm/amdgpu: Removed unnecessary if statement
There was an "if" statement that did nothing so it was removed. Signed-off-by: Sergio Miguéns Iglesias <sergio@lony.xyz> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
7b42552be6
commit
6940db0fd1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user