fm3: fix warning for superfluous assignment
Change-Id: I4f8e8c2e676a2728ddc6227daf9ca6a7ceb3d505 Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on: http://openocd.zylin.com/46 Tested-by: jenkins Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>__archive__
parent
d5b5f9f4fd
commit
dad3850264
|
@ -643,7 +643,6 @@ static int fm3_probe(struct flash_bank *bank)
|
|||
|
||||
bank->sectors = malloc(sizeof(struct flash_sector) * num_pages);
|
||||
bank->base = 0x00000000;
|
||||
num_pages = 2; /* start with smallest Flash pages number */
|
||||
bank->size = 32 * 1024; /* bytes */
|
||||
|
||||
bank->sectors[0].offset = 0;
|
||||
|
|
Loading…
Reference in New Issue