asahi: unwrap pointless null check
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29179>
This commit is contained in:
committed by
Marge Bot
parent
8494288451
commit
74963d5364
@@ -358,9 +358,7 @@ agx_open_device(void *memctx, struct agx_device *dev)
|
||||
void
|
||||
agx_close_device(struct agx_device *dev)
|
||||
{
|
||||
if (dev->helper)
|
||||
agx_bo_unreference(dev->helper);
|
||||
|
||||
agx_bo_unreference(dev->helper);
|
||||
agx_bo_cache_evict_all(dev);
|
||||
util_sparse_array_finish(&dev->bo_map);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user