From: Kenneth Graunke Date: Fri, 29 Oct 2010 18:42:22 +0000 (-0700) Subject: glsl: Remove unused ARRAY_SIZE macro. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cff1aeea10c6d8520cbb17381d81a684b2e9408b;p=mesa.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 06198e4f3f6..80e0f67d6d8 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 *