aboutsummaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorKumar Gala2008-01-17 00:02:10 -0600
committerWolfgang Denk2008-02-14 00:43:02 +0100
commit3cfb0c51b2bb5ede54eca85ace5b1ba12be314b0 (patch)
tree92f2add89c3ca9258c9dd78e496c2a309dbf45a5 /cpu
parentc77ce474b1c57b13e9d36d9830f147966c143694 (diff)
Remove duplicate defines for ARRAY_SIZE
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/arm926ejs/cpuinfo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpu/arm926ejs/cpuinfo.c b/cpu/arm926ejs/cpuinfo.c
index 8c9863161ad..35ba7dba0f5 100644
--- a/cpu/arm926ejs/cpuinfo.c
+++ b/cpu/arm926ejs/cpuinfo.c
@@ -18,8 +18,6 @@
#define omap_readw(x) *(volatile unsigned short *)(x)
#define omap_readl(x) *(volatile unsigned long *)(x)
-#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
-
#define OMAP_DIE_ID_0 0xfffe1800
#define OMAP_DIE_ID_1 0xfffe1804
#define OMAP_PRODUCTION_ID_0 0xfffe2000