From: Kenneth Graunke Date: Fri, 29 Oct 2010 18:42:22 +0000 (-0700) Subject: glsl: Remove unused ARRAY_SIZE macro. X-Git-Tag: 062012170305~9185 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cff1aeea10c6d8520cbb17381d81a684b2e9408b;p=profile%2Fivi%2Fmesa.git glsl: Remove unused ARRAY_SIZE macro. It's also equivalent to Elements(...) which is already used elsewhere. --- diff --git a/src/glsl/ir.h b/src/glsl/ir.h index 06198e4..80e0f67 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -37,10 +37,6 @@ extern "C" { #include "ir_visitor.h" #include "ir_hierarchical_visitor.h" -#ifndef ARRAY_SIZE -#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) -#endif - /** * \defgroup IR Intermediate representation nodes *