This is an automated email from Gerrit.

"Daniel Anselmi <danse...@gmx.ch>" just uploaded a new patch set to Gerrit, 
which you can find at https://review.openocd.org/c/openocd/+/8082

-- gerrit

commit 5504f110e65551ed78c8ddf7d7d7780de3ff48ed
Author: Daniel Anselmi <danse...@gmx.ch>
Date:   Fri Feb 23 20:49:54 2024 +0100

    pld/intel remove duplicated code
    
    Change-Id: I043d16c77ce97d3e888774747ed6bfc4c7e63c04
    Signed-off-by: Daniel Anselmi <danse...@gmx.ch>

diff --git a/src/pld/intel.c b/src/pld/intel.c
index a39e16c212..fe85cd62cf 100644
--- a/src/pld/intel.c
+++ b/src/pld/intel.c
@@ -248,9 +248,6 @@ static int intel_load(struct pld_device *pld_device, const 
char *filename)
        if (retval != ERROR_OK)
                return retval;
 
-       if (retval != ERROR_OK)
-               return retval;
-
        retval = intel_set_instr(tap, 0x002);
        if (retval != ERROR_OK) {
                free(bit_file.data);

-- 

Reply via email to