From: Dave Airlie Date: Wed, 19 Oct 2016 03:36:23 +0000 (+1000) Subject: anv: drop unused zero macro. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b0f131b0bf1d3f4eb5943d5485bbed170844c727;p=mesa.git anv: drop unused zero macro. I can't see this being used anywhere. Reviewed-by: Jason Ekstrand Signed-off-by: Dave Airlie --- 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