Skip to contentSkip to conversation

mx6_common: remove dead code

PATCH New Adam Ford 3 participants 3 messages Nov 25, 2017 – Dec 7, 2017

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 mx6_common: remove dead code

There is an #ifdef and #endif with nothing in between. This patch simply removes this dead/useless code.

include/configs/mx6_common.h +0 -3
index 4de9db6..5fb85a1 100644
@@ -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
 
Signature · 1 line
2.7.4
#2 lore raw

PATCH 1/1 mx6_common: remove dead code

In reply to Adam Ford
Quoted 11 lines · Adam Ford

There is an #ifdef and #endif with nothing in between. This patch simply removes this dead/useless code.

include/configs/mx6_common.h +0 -0
index 4de9db6..5fb85a1 100644

include/configs/mx6_common.h line 70

Quoted 9 lines
include/configs/mx6_common.h +0 -3
@@ -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

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================