diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2009-10-31 13:57:18 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2009-11-05 09:07:56 +0100 |
commit | af66678c9a76f3bdab23beb3ffa7d7d53423bdfa (patch) | |
tree | 3ee48dc1e666f435c999a1e2705e46a88e821a24 /src/target/cortex_m3.c | |
parent | acff2521fb8e47dce4a2e89e2de77e71bf314047 (diff) |
target: remove unused interface fn that clutters code
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 <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target/cortex_m3.c')
-rw-r--r-- | src/target/cortex_m3.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/target/cortex_m3.c b/src/target/cortex_m3.c index e854f6b6..ff977920 100644 --- a/src/target/cortex_m3.c +++ b/src/target/cortex_m3.c @@ -1498,11 +1498,6 @@ static int cortex_m3_examine(struct target_s *target) return ERROR_OK; } -static int cortex_m3_quit(void) -{ - return ERROR_OK; -} - static int cortex_m3_dcc_read(swjdp_common_t *swjdp, uint8_t *value, uint8_t *ctrl) { uint16_t dcrdr; @@ -1843,6 +1838,5 @@ target_type_t cortexm3_target = .target_create = cortex_m3_target_create, .init_target = cortex_m3_init_target, .examine = cortex_m3_examine, - .quit = cortex_m3_quit }; |