Remove duplicate defines for ARRAY_SIZE

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
Kumar Gala
2008-01-17 00:02:10 -06:00
committed by Wolfgang Denk
parent c77ce474b1
commit 3cfb0c51b2
4 changed files with 2 additions and 8 deletions

View File

@@ -665,4 +665,6 @@ void inline show_boot_progress (int val);
#error Read section CONFIG_SKIP_LOWLEVEL_INIT in README.
#endif
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
#endif /* __COMMON_H_ */