riscv: Remove some compile warnings

This commit is contained in:
Megan Wachs 2017-05-15 13:33:17 -07:00 committed by Palmer Dabbelt
parent bcf2a16b0d
commit af6e04d5c0
1 changed files with 0 additions and 2 deletions

View File

@ -1854,7 +1854,6 @@ int riscv013_dmi_write_u64_bits(struct target *target)
void riscv013_reset_current_hart(struct target *target)
{
RISCV_INFO(r);
RISCV013_INFO(info);
select_dmi(target);
uint32_t control = dmi_read(target, DMI_DMCONTROL);
@ -1869,7 +1868,6 @@ void riscv013_reset_current_hart(struct target *target)
control = set_field(control, DMI_DMCONTROL_HALTREQ, 0);
dmi_write(target, DMI_DMCONTROL, control);
return ERROR_OK;
}