jtag: remove jtag_get_end_state()'s that should be unecessary

By a bit of code inspection it seems like all of these
instances of jtag_get_end_state() can be unambigously
replaced by constants.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
Øyvind Harboe
2010-03-18 18:31:58 +01:00
parent 8d411d0d24
commit 8ce828dd38
5 changed files with 6 additions and 6 deletions

View File

@@ -849,7 +849,7 @@ void embeddedice_write_dcc(struct jtag_tap *tap, int reg_addr, uint8_t *buffer,
}
} else
{
tap_state_t end_state = jtag_get_end_state();
tap_state_t end_state = TAP_IDLE;
tap_state_t shift_end_state;
if (post_bits == 0)
shift_end_state = end_state;