Skip to contentSkip to conversation

emif.h: remove duplicated argument to |

PATCH In review Maxin B. John 2 participants 2 messages Jul 24, 2014 – Aug 10, 2014 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 emif.h: remove duplicated argument to |

Remove the duplicated argument to | in two places. Reported by Coccinelle (http://coccinelle.lip6.fr/).

---
 arch/arm/include/asm/emif.h | 3 ---
 1 file changed, 3 deletions(-)
arch/arm/include/asm/emif.h +0 -3
index b8d6bdc..2fe5776 100644
@@ -878,7 +878,6 @@ struct dmm_lisa_map_regs {
 	((REG_CS_TIM << EMIF_REG_CS_TIM_SHIFT) & EMIF_REG_CS_TIM_MASK)|\
 	((REG_SR_TIM << EMIF_REG_SR_TIM_SHIFT) & EMIF_REG_SR_TIM_MASK)|\
 	((REG_PD_TIM << EMIF_REG_PD_TIM_SHIFT) & EMIF_REG_PD_TIM_MASK)|\
-	((REG_PD_TIM << EMIF_REG_PD_TIM_SHIFT) & EMIF_REG_PD_TIM_MASK)|\
 	((LP_MODE_DISABLE << EMIF_REG_LP_MODE_SHIFT)\
 			& EMIF_REG_LP_MODE_MASK) |\
 	((DPD_DISABLE << EMIF_REG_DPD_EN_SHIFT)\
@@ -890,8 +889,6 @@ struct dmm_lisa_map_regs {
 	((REG_SR_TIM << EMIF_REG_SR_TIM_SHDW_SHIFT)\
 			& EMIF_REG_SR_TIM_SHDW_MASK) |\
 	((REG_PD_TIM << EMIF_REG_PD_TIM_SHDW_SHIFT)\
-			& EMIF_REG_PD_TIM_SHDW_MASK) |\
-	((REG_PD_TIM << EMIF_REG_PD_TIM_SHDW_SHIFT)\
 			& EMIF_REG_PD_TIM_SHDW_MASK))
 
 /* EMIF_L3_CONFIG register value */
Signature · 1 line
1.9.1
#1 lore raw
Quoted 4 lines · maxin.john at enea.com

Remove the duplicated argument to | in two places. Reported by Coccinelle (http://coccinelle.lip6.fr/).

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140810/0e7e35c7/attachment.pgp>