mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
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>
This commit is contained in:
committed by
Antonio Borneo
parent
b1600bb342
commit
7e4c9609ca
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user