Merge pull request #178 from riscv/cleanup

Rename dummy variable to be correct.
This commit is contained in:
Tim Newsome 2018-01-10 15:16:40 -08:00 committed by GitHub
commit 0d60a29c21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -566,8 +566,8 @@ static int execute_abstract_command(struct target *target, uint32_t command)
dmi_write(target, DMI_COMMAND, command); dmi_write(target, DMI_COMMAND, command);
{ {
uint32_t dmstatus = 0; uint32_t abstractcs = 0;
wait_for_idle(target, &dmstatus); wait_for_idle(target, &abstractcs);
} }
uint32_t cs = dmi_read(target, DMI_ABSTRACTCS); uint32_t cs = dmi_read(target, DMI_ABSTRACTCS);