From af66678c9a76f3bdab23beb3ffa7d7d53423bdfa Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Sat, 31 Oct 2009 13:57:18 +0100 Subject: target: remove unused interface fn that clutters code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The quit entry point was not being invoked. Just a source of confusion at this point. XScale ran 100x reset upon quit, but that code made no sense, wasn't commented and never invoke. Signed-off-by: Øyvind Harboe --- src/target/fa526.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/target/fa526.c') diff --git a/src/target/fa526.c b/src/target/fa526.c index 9cdbf3d4..4f8c3b20 100644 --- a/src/target/fa526.c +++ b/src/target/fa526.c @@ -36,7 +36,6 @@ int fa526_target_create(struct target_s *target, Jim_Interp *interp); int fa526_init_target(struct command_context_s *cmd_ctx, struct target_s *target); -int fa526_quit(void); target_type_t fa526_target = { @@ -74,7 +73,6 @@ target_type_t fa526_target = .target_create = fa526_target_create, .init_target = fa526_init_target, .examine = arm9tdmi_examine, - .quit = fa526_quit }; void fa526_change_to_arm(target_t *target, uint32_t *r0, uint32_t *pc) @@ -422,8 +420,3 @@ int fa526_init_target(struct command_context_s *cmd_ctx, struct target_s *target arm9tdmi_init_target(cmd_ctx, target); return ERROR_OK; } - -int fa526_quit(void) -{ - return ERROR_OK; -} -- cgit v1.2.3