gallium/svga: Remove useless ARRAY_SIZE declaration
authorAxel Davy <axel.davy@ens.fr>
Sun, 26 Apr 2015 21:19:03 +0000 (23:19 +0200)
committerAxel 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

index e32d19458a6cc1376acdc3589a3eee663f8da682..ce5475b6f04fe79112bf5a58facbb1d058f5b48d 100644 (file)
 
 #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))
 
 /*