Remove an extra call to kept_alive()
This incorrect extra call has been removed in upstream code already in March 2022, see https://review.openocd.org/c/openocd/+/6836 . Remove it from riscv-openocd as well. Change-Id: Ie341f5578c8bfdc518adf1e4bc134919ab76f803 Signed-off-by: Jan Matyas <jan.matyas@codasip.com>
This commit is contained in:
parent
2d98ef5d13
commit
a26c90f220
|
@ -481,7 +481,6 @@ int server_loop(struct command_context *command_context)
|
||||||
timeout_ms = polling_period;
|
timeout_ms = polling_period;
|
||||||
tv.tv_usec = timeout_ms * 1000;
|
tv.tv_usec = timeout_ms * 1000;
|
||||||
/* Only while we're sleeping we'll let others run */
|
/* Only while we're sleeping we'll let others run */
|
||||||
kept_alive();
|
|
||||||
retval = socket_select(fd_max + 1, &read_fds, NULL, NULL, &tv);
|
retval = socket_select(fd_max + 1, &read_fds, NULL, NULL, &tv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue