diff options
Diffstat (limited to 'src/openocd.c')
-rw-r--r-- | src/openocd.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/openocd.c b/src/openocd.c index d0bd9de1..ccace082 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -60,7 +60,6 @@ #include "replacements.h" - /* Give TELNET a way to find out what version this is */ int handle_version_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc) { @@ -69,7 +68,6 @@ int handle_version_command(struct command_context_s *cmd_ctx, char *cmd, char ** return ERROR_OK; } - void exit_handler(void) { /* close JTAG interface */ @@ -91,8 +89,6 @@ static int log_target_callback_event_handler(struct target_s *target, enum targe return ERROR_OK; } - - /* OpenOCD can't really handle failure of this command. Patches welcome! :-) */ int handle_init_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc) { @@ -148,8 +144,6 @@ int handle_init_command(struct command_context_s *cmd_ctx, char *cmd, char **arg tcl_init(); /* allows tcl to just connect without going thru telnet */ target_register_event_callback(log_target_callback_event_handler, cmd_ctx); - - return ERROR_OK; } |