From 443a2ec57a5dd917a077b786f48f905643b02610 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Thu, 3 Jul 2014 13:55:51 +0900 Subject: blackfin, powerpc: remove redundant definitions of ARRAY_SIZE Since ARRAY_SIZE macro is defined in include/common.h, re-defining it in arch-specific files is redundant. Signed-off-by: Masahiro Yamada Acked-by: Stefan Roese Acked-by: Sonic Zhang --- arch/powerpc/cpu/ppc4xx/speed.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'arch/powerpc') diff --git a/arch/powerpc/cpu/ppc4xx/speed.c b/arch/powerpc/cpu/ppc4xx/speed.c index 7e077d5a9f2..4baee7774c5 100644 --- a/arch/powerpc/cpu/ppc4xx/speed.c +++ b/arch/powerpc/cpu/ppc4xx/speed.c @@ -19,8 +19,6 @@ DECLARE_GLOBAL_DATA_PTR; #define DEBUGF(fmt,args...) #endif -#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) - #if defined(CONFIG_405GP) void get_sys_info (PPC4xx_SYS_INFO * sysInfo) -- cgit v1.2.3