vk/allocator: Remove an unneeded VG() wrapper
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 4 Jun 2015 16:12:37 +0000 (09:12 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 4 Jun 2015 16:14:33 +0000 (09:14 -0700)
src/vulkan/allocator.c

index 950b23c857a9a1aa0c95eab682631b616a05ed39..027108695fdad692848c83e56400d5afbe448410 100644 (file)
@@ -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 &&