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:
Antonio Borneo
2025-01-10 15:17:08 +01:00
parent ff5fb8f610
commit c50b541471
5 changed files with 8 additions and 8 deletions

View File

@@ -33,13 +33,13 @@ struct trace {
* to *hardware* tracing ... split such "real" tracing out from
* the contrib/libdcc support.
*/
typedef enum trace_status {
enum trace_status {
TRACE_IDLE = 0x0,
TRACE_RUNNING = 0x1,
TRACE_TRIGGERED = 0x2,
TRACE_COMPLETED = 0x4,
TRACE_OVERFLOWED = 0x8,
} trace_status_t;
};
int trace_point(struct target *target, uint32_t number);
int trace_register_commands(struct command_context *cmd_ctx);