summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-08 11:19:03 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-08 11:19:03 +0000
commit6ed75d476e2fdab1b3ed42c33ef8f89e858fb03e (patch)
tree4acf7ccffb6a79bb867567ef799bc7508320177b /src
parent46b3e72528cbda940b296e706abbfebb060105b2 (diff)
downloadopenocd_libswd-6ed75d476e2fdab1b3ed42c33ef8f89e858fb03e.tar.gz
openocd_libswd-6ed75d476e2fdab1b3ed42c33ef8f89e858fb03e.tar.bz2
openocd_libswd-6ed75d476e2fdab1b3ed42c33ef8f89e858fb03e.tar.xz
openocd_libswd-6ed75d476e2fdab1b3ed42c33ef8f89e858fb03e.zip
- removed target_process_events as only used in handle_resume_command and events will be called anyway by poll
git-svn-id: svn://svn.berlios.de/openocd/trunk@772 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/target/target.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/target/target.c b/src/target/target.c
index ce4f8454..9843ad07 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -1755,13 +1755,6 @@ int handle_wait_halt_command(struct command_context_s *cmd_ctx, char *cmd, char
return wait_state(cmd_ctx, cmd, TARGET_HALTED, ms);
}
-static void target_process_events(struct command_context_s *cmd_ctx)
-{
- target_t *target = get_current_target(cmd_ctx);
- target_poll(target);
- target_call_timer_callbacks_now();
-}
-
static int wait_state(struct command_context_s *cmd_ctx, char *cmd, enum target_state state, int ms)
{
int retval;
@@ -1889,8 +1882,6 @@ int handle_resume_command(struct command_context_s *cmd_ctx, char *cmd, char **a
{
return ERROR_COMMAND_SYNTAX_ERROR;
}
-
- target_process_events(cmd_ctx);
return retval;
}