diff mbox series

[U-Boot] mx6_common: remove dead code

Message ID 1511638749-6277-1-git-send-email-aford173@gmail.com
State Accepted
Commit 1b25f2d9d72823cc6ba35e8cb9086c9b3f6b849b
Delegated to: Stefano Babic
Headers show
Series [U-Boot] mx6_common: remove dead code | expand

Commit Message

Adam Ford Nov. 25, 2017, 7:39 p.m. UTC
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>

Comments

Fabio Estevam Nov. 25, 2017, 7:41 p.m. UTC | #1
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>
Stefano Babic Dec. 7, 2017, 9:16 a.m. UTC | #2
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
diff mbox series

Patch

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