target: trace: drop useless typedef trace_status_t
No need to use a typedef for an enum. Drop it. Change-Id: I31e0e3869c7277bcb14e05cfcac82c9655963ae6 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8704 Tested-by: jenkins Reviewed-by: zapb <dev@zapb.de>
This commit is contained in:
@@ -454,12 +454,12 @@ static int etb_init(struct etm_context *etm_ctx)
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
static trace_status_t etb_status(struct etm_context *etm_ctx)
|
||||
static enum trace_status etb_status(struct etm_context *etm_ctx)
|
||||
{
|
||||
struct etb *etb = etm_ctx->capture_driver_priv;
|
||||
struct reg *control = &etb->reg_cache->reg_list[ETB_CTRL];
|
||||
struct reg *status = &etb->reg_cache->reg_list[ETB_STATUS];
|
||||
trace_status_t retval = 0;
|
||||
enum trace_status retval = 0;
|
||||
int etb_timeout = 100;
|
||||
|
||||
etb->etm_ctx = etm_ctx;
|
||||
|
||||
Reference in New Issue
Block a user