mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
target/xtensa: remove needless target_was_examined check
In any case flag will be set as examined. Signed-off-by: Erhan Kurubas <erhan.kurubas@espressif.com> Change-Id: I5177ee656f726a807269e2f4725223f50e49e855 Reviewed-on: https://review.openocd.org/c/openocd/+/7231 Tested-by: jenkins Reviewed-by: Ian Thompson <ianst@cadence.com> Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Antonio Borneo
parent
0c28006cf2
commit
0708ccead4
@@ -801,8 +801,7 @@ int xtensa_examine(struct target *target)
|
||||
return ERROR_TARGET_FAILURE;
|
||||
}
|
||||
LOG_DEBUG("OCD_ID = %08" PRIx32, xtensa->dbg_mod.device_id);
|
||||
if (!target_was_examined(target))
|
||||
target_set_examined(target);
|
||||
target_set_examined(target);
|
||||
xtensa_smpbreak_write(xtensa, xtensa->smp_break);
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user