From: Juan A. Suarez Romero Date: Tue, 11 Apr 2017 11:15:31 +0000 (+0200) Subject: anv: remove needless VALGRIND_MAKE_MEM_DEFINED X-Git-Tag: upstream/17.1.0~289 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d7a82ae321e6316a7ab521a24f9cf569b9bd0c3;p=platform%2Fupstream%2Fmesa.git anv: remove needless VALGRIND_MAKE_MEM_DEFINED This is already invoked in the following VG_NOACCESS_READ() call. Reviewed-by: Jason Ekstrand --- diff --git a/src/intel/vulkan/anv_allocator.c b/src/intel/vulkan/anv_allocator.c index 78327df..784191e 100644 --- a/src/intel/vulkan/anv_allocator.c +++ b/src/intel/vulkan/anv_allocator.c @@ -758,7 +758,6 @@ anv_state_stream_finish(struct anv_state_stream *stream) struct anv_state_stream_block *next = stream->block; while (next != NULL) { - VG(VALGRIND_MAKE_MEM_DEFINED(next, sizeof(*next))); struct anv_state_stream_block sb = VG_NOACCESS_READ(next); VG(VALGRIND_MEMPOOL_FREE(stream, sb._vg_ptr)); VG(VALGRIND_MAKE_MEM_UNDEFINED(next, block_size));