projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64880d0
)
gallium/svga: Remove useless ARRAY_SIZE declaration
author
Axel Davy
<axel.davy@ens.fr>
Sun, 26 Apr 2015 21:19:03 +0000
(23:19 +0200)
committer
Axel Davy
<axel.davy@ens.fr>
Wed, 29 Apr 2015 06:28:10 +0000
(08:28 +0200)
This is already declared in util/macros.h
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/drivers/svga/include/svga3d_surfacedefs.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/include/svga3d_surfacedefs.h
b/src/gallium/drivers/svga/include/svga3d_surfacedefs.h
index e32d19458a6cc1376acdc3589a3eee663f8da682..ce5475b6f04fe79112bf5a58facbb1d058f5b48d 100644
(file)
--- 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))
/*