summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/svga/include/svga3d_surfacedefs.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/svga/include/svga3d_surfacedefs.h b/src/gallium/drivers/svga/include/svga3d_surfacedefs.h
index e32d19458a6..ce5475b6f04 100644
--- a/src/gallium/drivers/svga/include/svga3d_surfacedefs.h
+++ b/src/gallium/drivers/svga/include/svga3d_surfacedefs.h
@@ -31,10 +31,6 @@
#include "svga3d_reg.h"
-#ifndef ARRAY_SIZE
-#define ARRAY_SIZE(A) (sizeof(A) / sizeof(A[0]))
-#endif
-
#define max_t(type, x, y) ((x) > (y) ? (x) : (y))
/*