mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-25 17:40:11 +01:00
Merge branch 'fix-kgsl' into 'main'
freedreno: remove redundant if judgments See merge request mesa/libdrm!395
This commit is contained in:
commit
83e5b513ff
1 changed files with 1 additions and 2 deletions
|
|
@ -213,8 +213,7 @@ fd_bo_from_fbdev(struct fd_pipe *pipe, int fbfd, uint32_t size)
|
|||
|
||||
return bo;
|
||||
fail:
|
||||
if (bo)
|
||||
fd_bo_del(bo);
|
||||
fd_bo_del(bo);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue