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>
This commit is contained in:
@@ -34,7 +34,6 @@ int avr_register_commands(struct command_context_s *cmd_ctx);
|
||||
/* forward declarations */
|
||||
int avr_target_create(struct target_s *target, Jim_Interp *interp);
|
||||
int avr_init_target(struct command_context_s *cmd_ctx, struct target_s *target);
|
||||
int avr_quit(void);
|
||||
|
||||
int avr_arch_state(struct target_s *target);
|
||||
int avr_poll(target_t *target);
|
||||
@@ -95,7 +94,6 @@ target_type_t avr_target =
|
||||
.register_commands = avr_register_commands,
|
||||
.target_create = avr_target_create,
|
||||
.init_target = avr_init_target,
|
||||
.quit = avr_quit,
|
||||
/*
|
||||
.virt2phys = avr_virt2phys,
|
||||
.mmu = avr_mmu
|
||||
@@ -124,12 +122,6 @@ int avr_init_target(struct command_context_s *cmd_ctx, struct target_s *target)
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
int avr_quit(void)
|
||||
{
|
||||
LOG_DEBUG("%s", __FUNCTION__);
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
int avr_arch_state(struct target_s *target)
|
||||
{
|
||||
LOG_DEBUG("%s", __FUNCTION__);
|
||||
|
||||
Reference in New Issue
Block a user