From: openocd-gerrit <ope...@us...> - 2024-06-15 14:25:00
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 7e4c9609ca9dfd2734f59d6261d2681b2211283b (commit) from b1600bb342e191463094f534f71a4e5d51407e18 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 7e4c9609ca9dfd2734f59d6261d2681b2211283b Author: Daniel Anselmi <dan...@gm...> Date: Fri Feb 23 20:49:54 2024 +0100 pld/intel: remove duplicated code Change-Id: I043d16c77ce97d3e888774747ed6bfc4c7e63c04 Signed-off-by: Daniel Anselmi <dan...@gm...> Reviewed-on: https://review.openocd.org/c/openocd/+/8082 Tested-by: jenkins Reviewed-by: Antonio Borneo <bor...@gm...> diff --git a/src/pld/intel.c b/src/pld/intel.c index a39e16c21..fe85cd62c 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); ----------------------------------------------------------------------- Summary of changes: src/pld/intel.c | 3 --- 1 file changed, 3 deletions(-) hooks/post-receive -- Main OpenOCD repository |