nvk: drop dead assignment

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
Thomas H.P. Andersen 2022-10-24 02:11:01 +02:00 committed by Marge Bot
parent 683102a3bd
commit 3974f88de7

View file

@ -118,7 +118,6 @@ nvk_allocate_memory(struct nvk_device *device,
}
memset(map, 0, mem->bo->size);
nouveau_ws_bo_unmap(mem->bo, map);
result = VK_SUCCESS;
} else {
result = zero_vram(device, mem->bo);
if (result != VK_SUCCESS)