aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-11-19 10:36:41 -0500
committerDamjan Marion <dmarion@me.com>2019-11-20 17:38:49 +0000
commite51a9bbe7693294e2e1021f13697fa97b02a89fb (patch)
tree6c5411e70a534533d4370c0662f17b3d7cef828b /src/vlib
parenta548d134ae53c52de17fb02c8c925153cbd0fdf5 (diff)
vlib: improve code coverage, part deux
Type: test Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: If31f4b50da7a6e4a9704ceb3415c582143c08355
Diffstat (limited to 'src/vlib')
-rw-r--r--src/vlib/counter.c24
-rw-r--r--src/vlib/counter.h5
2 files changed, 0 insertions, 29 deletions
diff --git a/src/vlib/counter.c b/src/vlib/counter.c
index faf106942b7..8573b794fd9 100644
--- a/src/vlib/counter.c
+++ b/src/vlib/counter.c
@@ -119,30 +119,6 @@ vlib_simple_counter_n_counters (const vlib_simple_counter_main_t * cm)
return (vec_len (cm->counters[0]));
}
-void
-serialize_vlib_simple_counter_main (serialize_main_t * m, va_list * va)
-{
- clib_warning ("unimplemented");
-}
-
-void
-unserialize_vlib_simple_counter_main (serialize_main_t * m, va_list * va)
-{
- clib_warning ("unimplemented");
-}
-
-void
-serialize_vlib_combined_counter_main (serialize_main_t * m, va_list * va)
-{
- clib_warning ("unimplemented");
-}
-
-void
-unserialize_vlib_combined_counter_main (serialize_main_t * m, va_list * va)
-{
- clib_warning ("unimplemented");
-}
-
/*
* fd.io coding-style-patch-verification: ON
*
diff --git a/src/vlib/counter.h b/src/vlib/counter.h
index 092bd00c879..292e137681e 100644
--- a/src/vlib/counter.h
+++ b/src/vlib/counter.h
@@ -323,11 +323,6 @@ void vlib_validate_combined_counter (vlib_combined_counter_main_t * cm,
*/
#define vlib_counter_len(cm) vec_len((cm)->maxi)
-serialize_function_t serialize_vlib_simple_counter_main,
- unserialize_vlib_simple_counter_main;
-serialize_function_t serialize_vlib_combined_counter_main,
- unserialize_vlib_combined_counter_main;
-
#endif /* included_vlib_counter_h */
/*