diff --git a/src/jtag/ft2232.c b/src/jtag/ft2232.c index 2740c3be1..68de086f4 100644 --- a/src/jtag/ft2232.c +++ b/src/jtag/ft2232.c @@ -256,8 +256,6 @@ int ft2232_speed(int speed) return retval; } - jtag_speed = speed; - return ERROR_OK; } diff --git a/src/jtag/parport.c b/src/jtag/parport.c index 9a888db74..e56d65c6e 100644 --- a/src/jtag/parport.c +++ b/src/jtag/parport.c @@ -258,8 +258,6 @@ void parport_led(int on) int parport_speed(int speed) { - jtag_speed = speed; - return ERROR_OK; } diff --git a/src/jtag/presto.c b/src/jtag/presto.c index aa82f4133..c031d94b1 100644 --- a/src/jtag/presto.c +++ b/src/jtag/presto.c @@ -714,7 +714,6 @@ int presto_jtag_speed(int speed) return ERROR_INVALID_ARGUMENTS; } - jtag_speed = speed; LOG_INFO("setting speed to %d, max. TCK freq. is %s", speed, presto_speed_text[speed]); return presto_sendbyte(0xA8 | speed); }