]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/mtd/jedec_flash.c
Remove duplicate defines for ARRAY_SIZE
[karo-tx-uboot.git] / drivers / mtd / jedec_flash.c
index 94e87cbf004b405cc8e5d9ad80ea2e109e109d79..41aad3bd6a5f28e230aa3e8b695f4dc2319c3eea 100644 (file)
@@ -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;