From b0f131b0bf1d3f4eb5943d5485bbed170844c727 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 19 Oct 2016 13:36:23 +1000 Subject: anv: drop unused zero macro. I can't see this being used anywhere. Reviewed-by: Jason Ekstrand Signed-off-by: Dave Airlie --- src/intel/vulkan/anv_private.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/intel/vulkan/anv_private.h') diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 0e258276c60..3fe9d7def4e 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -163,8 +163,6 @@ anv_clear_mask(uint32_t *inout_mask, uint32_t clear_mask) memcpy((dest), (src), (count) * sizeof(*(src))); \ }) -#define zero(x) (memset(&(x), 0, sizeof(x))) - /* Define no kernel as 1, since that's an illegal offset for a kernel */ #define NO_KERNEL 1 -- cgit v1.2.3