diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-03-16 10:58:21 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-03-17 07:40:00 +0100 |
commit | 1d9fba8c1488c3774c8bde737c2d658b1f525d09 (patch) | |
tree | 6c09a4e8c379e386b24dcde638e63bb7357fa597 /src/target/arm7_9_common.c | |
parent | 6f8b8593d63bc9781435270a54b6f7d245eecd8e (diff) |
arm7/9: remove unused post_restore_context
Unused. If something should happen after context restore, then the
calling code can just do it afterwards.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target/arm7_9_common.c')
-rw-r--r-- | src/target/arm7_9_common.c | 3 |
1 files changed, 0 insertions, 3 deletions
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; } |