Skip to content
Snippets Groups Projects
Commit a252cb06 authored by Alexander Kurz's avatar Alexander Kurz Committed by Andreas Fritiofson
Browse files

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: default avatarAlexander Kurz <akurz@blala.de>
Reviewed-on: http://openocd.zylin.com/3369


Tested-by: jenkins
Reviewed-by: default avatarAndreas Fritiofson <andreas.fritiofson@gmail.com>
parent 6581bf5f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment