Conform to OpenOCD style

Change-Id: I3954a8ac254b460560fa1414c5921777e4005645
This commit is contained in:
Tim Newsome 2018-05-03 17:58:44 -07:00
parent 487501e761
commit 909c9d4ab2
1 changed files with 1 additions and 2 deletions

View File

@ -2722,9 +2722,8 @@ static int riscv013_select_current_hart(struct target *target)
RISCV_INFO(r);
dm013_info_t *dm = get_dm(target);
if (r->current_hartid == dm->current_hartid) {
if (r->current_hartid == dm->current_hartid)
return ERROR_OK;
}
uint32_t dmcontrol;
if (dmi_read(target, &dmcontrol, DMI_DMCONTROL) != ERROR_OK)