summaryrefslogtreecommitdiff
path: root/src/target/armv7m.c
diff options
context:
space:
mode:
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
commit1d9fba8c1488c3774c8bde737c2d658b1f525d09 (patch)
tree6c09a4e8c379e386b24dcde638e63bb7357fa597 /src/target/armv7m.c
parent6f8b8593d63bc9781435270a54b6f7d245eecd8e (diff)
downloadopenocd+libswd-1d9fba8c1488c3774c8bde737c2d658b1f525d09.tar.gz
openocd+libswd-1d9fba8c1488c3774c8bde737c2d658b1f525d09.tar.bz2
openocd+libswd-1d9fba8c1488c3774c8bde737c2d658b1f525d09.tar.xz
openocd+libswd-1d9fba8c1488c3774c8bde737c2d658b1f525d09.zip
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/armv7m.c')
-rw-r--r--src/target/armv7m.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/target/armv7m.c b/src/target/armv7m.c
index 1216a45f..f0829c61 100644
--- a/src/target/armv7m.c
+++ b/src/target/armv7m.c
@@ -139,9 +139,6 @@ int armv7m_restore_context(struct target *target)
}
}
- if (armv7m->post_restore_context)
- armv7m->post_restore_context(target);
-
return ERROR_OK;
}