aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vnet/bfd/bfd_main.c8
-rw-r--r--src/vnet/bfd/bfd_main.h7
2 files changed, 1 insertions, 14 deletions
diff --git a/src/vnet/bfd/bfd_main.c b/src/vnet/bfd/bfd_main.c
index 6e6be9efb70..55ea23dea41 100644
--- a/src/vnet/bfd/bfd_main.c
+++ b/src/vnet/bfd/bfd_main.c
@@ -37,14 +37,6 @@
#include <vnet/bfd/bfd_main.h>
#include <vlib/log.h>
-u32 oingoes;
-
-void
-oingo (void)
-{
- oingoes++;
-}
-
static u64
bfd_calc_echo_checksum (u32 discriminator, u64 expire_time, u32 secret)
{
diff --git a/src/vnet/bfd/bfd_main.h b/src/vnet/bfd/bfd_main.h
index 7808834644b..c587c86801f 100644
--- a/src/vnet/bfd/bfd_main.h
+++ b/src/vnet/bfd/bfd_main.h
@@ -397,16 +397,11 @@ bfd_unlock (bfd_main_t * bm)
clib_spinlock_unlock_if_init (&bm->lock);
}
-void oingo (void);
-
static inline void
bfd_lock_check (bfd_main_t * bm)
{
if (PREDICT_FALSE (bm->lock_recursion_count < 1))
- {
- clib_warning ("lock check failure");
- oingo ();
- }
+ clib_warning ("lock check failure");
}
u8 *bfd_input_format_trace (u8 * s, va_list * args);