[U-Boot] [PATCH] mx6_common: remove dead code

There is an #ifdef and #endif with nothing in between. This patch simply removes this dead/useless code.
Signed-off-by: Adam Ford aford173@gmail.com
diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h index 4de9db6..5fb85a1 100644 --- a/include/configs/mx6_common.h +++ b/include/configs/mx6_common.h @@ -65,9 +65,6 @@ #define CONFIG_SYS_CBSIZE 512 #define CONFIG_SYS_MAXARGS 32
-#ifndef CONFIG_SYS_DCACHE_OFF -#endif - /* GPIO */ #define CONFIG_MXC_GPIO

On Sat, Nov 25, 2017 at 5:39 PM, Adam Ford aford173@gmail.com wrote:
There is an #ifdef and #endif with nothing in between. This patch simply removes this dead/useless code.
Signed-off-by: Adam Ford aford173@gmail.com
Good catch:
Reviewed-by: Fabio Estevam fabio.estevam@nxp.com

On 25/11/2017 20:39, Adam Ford wrote:
There is an #ifdef and #endif with nothing in between. This patch simply removes this dead/useless code.
Signed-off-by: Adam Ford aford173@gmail.com
diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h index 4de9db6..5fb85a1 100644 --- a/include/configs/mx6_common.h +++ b/include/configs/mx6_common.h @@ -65,9 +65,6 @@ #define CONFIG_SYS_CBSIZE 512 #define CONFIG_SYS_MAXARGS 32
-#ifndef CONFIG_SYS_DCACHE_OFF -#endif
/* GPIO */ #define CONFIG_MXC_GPIO
Applied to u-boot-imx, master, thanks !
Best regards, Stefano Babic
participants (3)
-
Adam Ford
-
Fabio Estevam
-
Stefano Babic