summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/jtag/drivers/ft2232.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c
index 9d40b1c0..90516a09 100644
--- a/src/jtag/drivers/ft2232.c
+++ b/src/jtag/drivers/ft2232.c
@@ -4022,7 +4022,7 @@ static int signalyzer_h_init(void)
buf[1] = high_output;
buf[2] = high_direction;
- if ((retval = ft2232_write(buf, sizeof(buf), &bytes_written)) != ERROR_OK)
+ if (ft2232_write(buf, sizeof(buf), &bytes_written) != ERROR_OK)
{
LOG_ERROR("couldn't initialize Signalyzer-H layout");
return ERROR_JTAG_INIT_FAILED;