From 8ce828dd382c907db4c6bd38e5b54996e50327fd Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Thu, 18 Mar 2010 18:31:58 +0100 Subject: jtag: remove jtag_get_end_state()'s that should be unecessary MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/target/embeddedice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/target/embeddedice.h') diff --git a/src/target/embeddedice.h b/src/target/embeddedice.h index cd48ce69..d2781152 100644 --- a/src/target/embeddedice.h +++ b/src/target/embeddedice.h @@ -128,7 +128,7 @@ static __inline__ void embeddedice_write_reg_inner(struct jtag_tap *tap, int reg 2, embeddedice_num_bits, values, - jtag_get_end_state()); + TAP_IDLE); } void embeddedice_write_dcc(struct jtag_tap *tap, int reg_addr, uint8_t *buffer, int little, int count); -- cgit v1.2.3