forked from auracaster/openocd
flash/nor/sh_qspi: Fix dead assignment
Change-Id: I6a99076fea30062535e615244895698e51107441 Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: http://openocd.zylin.com/5645 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Antonio Borneo
parent
ac870d80a9
commit
17789d3762
@@ -654,7 +654,7 @@ static int sh_qspi_read(struct flash_bank *bank, uint8_t *buffer,
|
|||||||
destroy_reg_param(®_params[2]);
|
destroy_reg_param(®_params[2]);
|
||||||
destroy_reg_param(®_params[3]);
|
destroy_reg_param(®_params[3]);
|
||||||
|
|
||||||
return ERROR_OK;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Return ID of flash device */
|
/* Return ID of flash device */
|
||||||
|
|||||||
Reference in New Issue
Block a user