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/xscale.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/target/xscale.c') diff --git a/src/target/xscale.c b/src/target/xscale.c index ee9d88d6..cc4176b6 100644 --- a/src/target/xscale.c +++ b/src/target/xscale.c @@ -2919,12 +2919,6 @@ static int xscale_init_target(struct command_context_s *cmd_ctx, return ERROR_OK; } -static int xscale_quit(void) -{ - jtag_add_runtest(100, TAP_RESET); - return ERROR_OK; -} - static int xscale_init_arch_info(target_t *target, xscale_common_t *xscale, jtag_tap_t *tap, const char *variant) { @@ -3734,7 +3728,6 @@ target_type_t xscale_target = .register_commands = xscale_register_commands, .target_create = xscale_target_create, .init_target = xscale_init_target, - .quit = xscale_quit, .virt2phys = xscale_virt2phys, .mmu = xscale_mmu -- cgit v1.2.3-18-g5258