Browse Source

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 <akurz@blala.de>
Reviewed-on: http://openocd.zylin.com/3369
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
tags/v0.10.0-rc1
Alexander Kurz 6 years ago
committed by Andreas Fritiofson
parent
commit
a252cb064d
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      src/flash/nor/non_cfi.c

+ 0
- 1
src/flash/nor/non_cfi.c View File

@@ -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;


Loading…
Cancel
Save