This is an automated email from Gerrit.

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

-- gerrit

commit 1d435e8cf77036d2a8a82b90a9b99929cb6c9146
Author: Marc Schink <[email protected]>
Date:   Mon May 4 16:56:14 2020 +0200

    flash/nor/sh_qspi: Fix dead assignment
    
    Change-Id: I6a99076fea30062535e615244895698e51107441
    Signed-off-by: Marc Schink <[email protected]>

diff --git a/src/flash/nor/sh_qspi.c b/src/flash/nor/sh_qspi.c
index dd94a6b..c811507 100644
--- a/src/flash/nor/sh_qspi.c
+++ b/src/flash/nor/sh_qspi.c
@@ -653,7 +653,7 @@ static int sh_qspi_read(struct flash_bank *bank, uint8_t 
*buffer,
        destroy_reg_param(&reg_params[2]);
        destroy_reg_param(&reg_params[3]);
 
-       return ERROR_OK;
+       return ret;
 }
 
 /* Return ID of flash device */

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to