diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-01-17 09:02:10 +0300 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-02-14 02:43:02 +0300 |
commit | 3cfb0c51b2bb5ede54eca85ace5b1ba12be314b0 (patch) | |
tree | 92f2add89c3ca9258c9dd78e496c2a309dbf45a5 /drivers/mtd/jedec_flash.c | |
parent | c77ce474b1c57b13e9d36d9830f147966c143694 (diff) | |
download | u-boot-3cfb0c51b2bb5ede54eca85ace5b1ba12be314b0.tar.xz |
Remove duplicate defines for ARRAY_SIZE
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'drivers/mtd/jedec_flash.c')
-rw-r--r-- | drivers/mtd/jedec_flash.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mtd/jedec_flash.c b/drivers/mtd/jedec_flash.c index 94e87cbf00..41aad3bd6a 100644 --- a/drivers/mtd/jedec_flash.c +++ b/drivers/mtd/jedec_flash.c @@ -218,10 +218,6 @@ static const struct amd_flash_info jedec_table[] = { #endif }; - -#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) - - static inline void fill_info(flash_info_t *info, const struct amd_flash_info *jedec_entry, ulong base) { int i,j; |