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:
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);
|
||||
|
|
Loading…
Reference in New Issue