summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2015-04-26 23:19:03 +0200
committerAxel Davy <[email protected]>2015-04-29 08:28:10 +0200
commit559342d01d4199e8fd475241a574a92c4ce63896 (patch)
tree050229ead3db198702d765147f215ebae0dbcb0a
parent64880d073ab21ae1abad0c049ea2d6a1169a3cfa (diff)
gallium/svga: Remove useless ARRAY_SIZE declaration
This is already declared in util/macros.h Reviewed-by: Brian Paul <[email protected]> Signed-off-by: Axel Davy <[email protected]>
-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))
/*