From 8f12698f836a94c2aa45a76045d97ca5d9d53e8a Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Thu, 6 May 2021 16:15:35 +0200 Subject: [PATCH] vlib: remove unused simple counters fields Type: improvement Signed-off-by: Ole Troan Change-Id: I46cfdcd02e5fda310367da17532cd2f355044811 Signed-off-by: Ole Troan --- src/vlib/counter.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/vlib/counter.h b/src/vlib/counter.h index 04ab83769cc..01aefd8ebc0 100644 --- a/src/vlib/counter.h +++ b/src/vlib/counter.h @@ -57,10 +57,6 @@ typedef struct { counter_t **counters; /**< Per-thread u64 non-atomic counters */ - counter_t *value_at_last_serialize; /**< Values as of last serialize. */ - u32 last_incremental_serialize_index; /**< Last counter index - serialized incrementally. */ - char *name; /**< The counter collection's name. */ char *stat_segment_name; /**< Name in stat segment directory */ } vlib_simple_counter_main_t; @@ -207,8 +203,6 @@ vlib_counter_zero (vlib_counter_t * a) typedef struct { vlib_counter_t **counters; /**< Per-thread u64 non-atomic counter pairs */ - vlib_counter_t *value_at_last_serialize; /**< Counter values as of last serialize. */ - u32 last_incremental_serialize_index; /**< Last counter index serialized incrementally. */ char *name; /**< The counter collection's name. */ char *stat_segment_name; /**< Name in stat segment directory */ } vlib_combined_counter_main_t; -- 2.16.6