diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2010-04-10 00:25:35 +0800 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2010-04-10 00:25:35 +0800 |
commit | 3f0b17e48af9e3481084e1e9e697012b6824df43 (patch) | |
tree | 27abb408165cc439590527009ee91f955918b41e | |
parent | 321aa6aa8fe9f6c07649776722a341bbfda028ee (diff) | |
download | openocd+libswd-3f0b17e48af9e3481084e1e9e697012b6824df43.tar.gz openocd+libswd-3f0b17e48af9e3481084e1e9e697012b6824df43.tar.bz2 openocd+libswd-3f0b17e48af9e3481084e1e9e697012b6824df43.tar.xz openocd+libswd-3f0b17e48af9e3481084e1e9e697012b6824df43.zip |
TARGET: review unused symbols
Remove unused functions:
- target_all_handle_event
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
-rw-r--r-- | src/target/target.c | 16 | ||||
-rw-r--r-- | src/target/target.h | 1 |
2 files changed, 0 insertions, 17 deletions
diff --git a/src/target/target.c b/src/target/target.c index f1b292ae..73594fb0 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -3580,22 +3580,6 @@ static int target_array2mem(Jim_Interp *interp, struct target *target, return JIM_OK; } -void target_all_handle_event(enum target_event e) -{ - struct target *target; - - LOG_DEBUG("**all*targets: event: %d, %s", - (int)e, - Jim_Nvp_value2name_simple(nvp_target_event, e)->name); - - target = all_targets; - while (target) { - target_handle_event(target, e); - target = target->next; - } -} - - /* FIX? should we propagate errors here rather than printing them * and continuing? */ diff --git a/src/target/target.h b/src/target/target.h index 18ffb380..0292945d 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -473,7 +473,6 @@ int target_write_u8(struct target *target, uint32_t address, uint8_t value); int target_arch_state(struct target *target); void target_handle_event(struct target *t, enum target_event e); -void target_all_handle_event(enum target_event e); #define ERROR_TARGET_INVALID (-300) #define ERROR_TARGET_INIT_FAILED (-301) |