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/arm7tdmi.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/target/arm7tdmi.c') diff --git a/src/target/arm7tdmi.c b/src/target/arm7tdmi.c index 253bdf08..ec7b4f9e 100644 --- a/src/target/arm7tdmi.c +++ b/src/target/arm7tdmi.c @@ -38,7 +38,6 @@ /* forward declarations */ int arm7tdmi_target_create(struct target_s *target,Jim_Interp *interp); -int arm7tdmi_quit(void); /* target function declarations */ int arm7tdmi_poll(struct target_s *target); @@ -80,7 +79,6 @@ target_type_t arm7tdmi_target = .target_create = arm7tdmi_target_create, .init_target = arm7tdmi_init_target, .examine = arm7tdmi_examine, - .quit = arm7tdmi_quit }; int arm7tdmi_examine_debug_reason(target_t *target) @@ -758,11 +756,6 @@ int arm7tdmi_init_target(struct command_context_s *cmd_ctx, struct target_s *tar return ERROR_OK; } -int arm7tdmi_quit(void) -{ - return ERROR_OK; -} - int arm7tdmi_init_arch_info(target_t *target, arm7tdmi_common_t *arm7tdmi, jtag_tap_t *tap) { armv4_5_common_t *armv4_5; -- cgit v1.2.3