From: Marek Vasut Date: Fri, 21 Jul 2017 21:12:29 +0000 (+0200) Subject: mtd: cfi: Zap CFI_FLASH_SHIFT_WIDTH redefinition X-Git-Tag: v2017.09-rc2~92^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bd2d489e248dada86a557c8d2ee4f914a2b0c8eb;p=u-boot mtd: cfi: Zap CFI_FLASH_SHIFT_WIDTH redefinition This is defined twice in the same file, with the same value, likely because of some patch merge issue. Pick the uglier one and nuke it. Signed-off-by: Marek Vasut Cc: Tom Rini Signed-off-by: Stefan Roese --- diff --git a/include/flash.h b/include/flash.h index 2a5e13a13d..908d7cec6c 100644 --- a/include/flash.h +++ b/include/flash.h @@ -67,8 +67,6 @@ typedef unsigned long flash_sect_t; #define FLASH_CFI_BY16 0x02 #define FLASH_CFI_BY32 0x04 #define FLASH_CFI_BY64 0x08 -/* convert between bit value and numeric value */ -#define CFI_FLASH_SHIFT_WIDTH 3 /* * Values for the flash device interface */