Mesa (master): anv: drop unused zero macro.
Dave Airlie
airlied at kemper.freedesktop.org
Thu Oct 20 00:54:10 UTC 2016
Module: Mesa
Branch: master
Commit: b0f131b0bf1d3f4eb5943d5485bbed170844c727
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0f131b0bf1d3f4eb5943d5485bbed170844c727
Author: Dave Airlie <airlied at redhat.com>
Date: Wed Oct 19 13:36:23 2016 +1000
anv: drop unused zero macro.
I can't see this being used anywhere.
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
src/intel/vulkan/anv_private.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 0e25827..3fe9d7d 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
More information about the mesa-commit
mailing list