From 8d930da35df494f78e658cc8969a40a91286d6d6 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 4 Jun 2015 09:12:37 -0700 Subject: [PATCH] vk/allocator: Remove an unneeded VG() wrapper --- src/vulkan/allocator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/allocator.c b/src/vulkan/allocator.c index 950b23c857a..027108695fd 100644 --- a/src/vulkan/allocator.c +++ b/src/vulkan/allocator.c @@ -626,7 +626,7 @@ anv_state_stream_alloc(struct anv_state_stream *stream, if (vg_ptr == NULL) { vg_ptr = state.map; VG_NOACCESS_WRITE(&sb->_vg_ptr, vg_ptr); - VG(VALGRIND_MALLOCLIKE_BLOCK(vg_ptr, size, 0, false)); + VALGRIND_MALLOCLIKE_BLOCK(vg_ptr, size, 0, false); } else { ptrdiff_t vg_offset = vg_ptr - current_map; assert(vg_offset >= stream->current_block && -- 2.30.2