This is an automated email from Gerrit.

Anonymous Coward ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/3369

-- gerrit

commit 2e50147dc04ebcd87f24deab3d3ba6abe1e18b27
Author: Alexander Kurz <[email protected]>
Date:   Sun Feb 28 23:21:47 2016 +0100

    flash/nor/non_cfi.c: cleanup, member double-intialization
    
    A struct member has been initialized twice. Found using the semantic
    pattern da/da.cocci, see coccinellery.org
    
    Change-Id: I0320afd60f1ba505758cc5bc0adcf27f572492fb
    Signed-off-by: Alexander Kurz <[email protected]>

diff --git a/src/flash/nor/non_cfi.c b/src/flash/nor/non_cfi.c
index 72f11e5..7636a36 100644
--- a/src/flash/nor/non_cfi.c
+++ b/src/flash/nor/non_cfi.c
@@ -540,7 +540,6 @@ void cfi_fixup_non_cfi(struct flash_bank *bank)
 
                pri_ext->SiliconRevision = 0x0;
                pri_ext->EraseSuspend = 0x0;
-               pri_ext->EraseSuspend = 0x0;
                pri_ext->BlkProt = 0x0;
                pri_ext->TmpBlkUnprotect = 0x0;
                pri_ext->BlkProtUnprot = 0x0;

-- 

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to