From 1d9fba8c1488c3774c8bde737c2d658b1f525d09 Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Tue, 16 Mar 2010 10:58:21 +0100 Subject: arm7/9: remove unused post_restore_context MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unused. If something should happen after context restore, then the calling code can just do it afterwards. Signed-off-by: Øyvind Harboe --- src/target/arm7_9_common.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/target/arm7_9_common.c') diff --git a/src/target/arm7_9_common.c b/src/target/arm7_9_common.c index f9deb831..d1e7a93e 100644 --- a/src/target/arm7_9_common.c +++ b/src/target/arm7_9_common.c @@ -1726,9 +1726,6 @@ int arm7_9_restore_context(struct target *target) arm7_9->write_pc(target, buf_get_u32(armv4_5->pc->value, 0, 32)); armv4_5->pc->dirty = 0; - if (arm7_9->post_restore_context) - arm7_9->post_restore_context(target); - return ERROR_OK; } -- cgit v1.2.3