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:
Alyssa Rosenzweig
2024-04-06 11:49:04 -04:00
committed by Marge Bot
parent 8494288451
commit 74963d5364
+1 -3
View File
@@ -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);