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/arm9tdmi.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/target/arm9tdmi.c') diff --git a/src/target/arm9tdmi.c b/src/target/arm9tdmi.c index ac233f66..72a24b4c 100644 --- a/src/target/arm9tdmi.c +++ b/src/target/arm9tdmi.c @@ -47,7 +47,6 @@ /* forward declarations */ static int arm9tdmi_target_create(struct target_s *target, Jim_Interp *interp); -static int arm9tdmi_quit(void); target_type_t arm9tdmi_target = { @@ -85,7 +84,6 @@ target_type_t arm9tdmi_target = .target_create = arm9tdmi_target_create, .init_target = arm9tdmi_init_target, .examine = arm9tdmi_examine, - .quit = arm9tdmi_quit }; static arm9tdmi_vector_t arm9tdmi_vectors[] = @@ -859,11 +857,6 @@ int arm9tdmi_init_target(struct command_context_s *cmd_ctx, struct target_s *tar return ERROR_OK; } -static int arm9tdmi_quit(void) -{ - return ERROR_OK; -} - int arm9tdmi_init_arch_info(target_t *target, arm9tdmi_common_t *arm9tdmi, jtag_tap_t *tap) { armv4_5_common_t *armv4_5; -- cgit v1.2.3-18-g5258