From: "Steven Rostedt (Google)" <rostedt@xxxxxxxxxxx> Remove the TRACEEVAL_TYPE_NONE in the initialization of keys and vals in the sample code as it is no longer needed. Signed-off-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx> --- samples/task-eval.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/samples/task-eval.c b/samples/task-eval.c index 6b01b8d076f2..361c4a835f06 100644 --- a/samples/task-eval.c +++ b/samples/task-eval.c @@ -89,9 +89,6 @@ static struct traceeval_type cpu_keys[] = { .type = TRACEEVAL_TYPE_NUMBER, .name = "Schedule state", }, - { - .type = TRACEEVAL_TYPE_NONE - } }; static struct traceeval_type process_keys[] = { @@ -103,9 +100,6 @@ static struct traceeval_type process_keys[] = { .type = TRACEEVAL_TYPE_NUMBER, .name = "Schedule state" }, - { - .type = TRACEEVAL_TYPE_NONE, - } }; static struct traceeval_type process_data_vals[] = { @@ -113,9 +107,6 @@ static struct traceeval_type process_data_vals[] = { .type = TRACEEVAL_TYPE_POINTER, .name = "data", }, - { - .type = TRACEEVAL_TYPE_NONE - } }; static struct traceeval_type thread_keys[] = { @@ -127,9 +118,6 @@ static struct traceeval_type thread_keys[] = { .type = TRACEEVAL_TYPE_NUMBER, .name = "Schedule state", }, - { - .type = TRACEEVAL_TYPE_NONE, - } }; static struct traceeval_type timestamp_vals[] = { @@ -138,9 +126,6 @@ static struct traceeval_type timestamp_vals[] = { .name = "Timestamp", .flags = TRACEEVAL_FL_TIMESTAMP, }, - { - .type = TRACEEVAL_TYPE_NONE - } }; static struct traceeval_type delta_vals[] = { @@ -149,9 +134,6 @@ static struct traceeval_type delta_vals[] = { .name = "delta", .flags = TRACEEVAL_FL_STAT, }, - { - .type = TRACEEVAL_TYPE_NONE, - }, }; enum sched_state { -- 2.40.1