diff options
author | Daniel Anselmi <danselmi@gmx.ch> | 2024-02-23 20:49:54 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2024-06-15 14:24:32 +0000 |
commit | 7e4c9609ca9dfd2734f59d6261d2681b2211283b (patch) | |
tree | b0e4dcb4d0d8083622deac1416fb8c662e639a8c | |
parent | b1600bb342e191463094f534f71a4e5d51407e18 (diff) | |
download | riscv-openocd-7e4c9609ca9dfd2734f59d6261d2681b2211283b.zip riscv-openocd-7e4c9609ca9dfd2734f59d6261d2681b2211283b.tar.gz riscv-openocd-7e4c9609ca9dfd2734f59d6261d2681b2211283b.tar.bz2 |
pld/intel: remove duplicated code
Change-Id: I043d16c77ce97d3e888774747ed6bfc4c7e63c04
Signed-off-by: Daniel Anselmi <danselmi@gmx.ch>
Reviewed-on: https://review.openocd.org/c/openocd/+/8082
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
-rw-r--r-- | src/pld/intel.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pld/intel.c b/src/pld/intel.c index a39e16c..fe85cd6 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); |