Merge branch 'fix-kgsl' into 'main'

freedreno: remove redundant if judgments

See merge request mesa/libdrm!395
This commit is contained in:
XI HUANG 2025-12-07 23:12:46 +00:00
commit 83e5b513ff

View file

@ -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;
}