stats: Remove unsolicited clib_warning 72/35272/3
authorSteven Luong <sluong@cisco.com>
Wed, 9 Feb 2022 23:11:48 +0000 (15:11 -0800)
committerDamjan Marion <dmarion@me.com>
Thu, 10 Feb 2022 17:26:44 +0000 (17:26 +0000)
It is annoying to see unsolicited message like this spew out to the
console which an end-user cares less about.
vlib_stats_rename_symlink:301: RENAME new name: /nodes/unix-cli-local:52/clocks

Type: fix
Fixes: I92a62bb1cb799e8fdc3ec4110ae3428825254f8a

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I071f3d3736c06cd95a38ec46c7e2222caad01283

src/vpp/stats/stat_segment.c

index c43f16f..3ab60b9 100644 (file)
@@ -298,7 +298,7 @@ vlib_stats_rename_symlink (void *oldheap, u64 index, u8 *new_name)
 {
   stat_segment_main_t *sm = &stat_segment_main;
   stat_segment_directory_entry_t *e;
-  clib_warning ("RENAME new name: %s", new_name);
+
   ASSERT (clib_mem_get_heap () == sm->heap);
   ASSERT (index < vec_len (sm->directory_vector));
   if (index > vec_len (sm->directory_vector))