diff options
author | Dave Barach <dave@barachs.net> | 2018-09-14 09:27:42 -0400 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2018-09-14 15:32:06 +0000 |
commit | ccf444d50253325bd8a7b0dddc2f34f5586b5e45 (patch) | |
tree | 93f9f4b7344a51b988eb2ef82f30a040452e4ee2 /src/vnet/bfd | |
parent | eeadc14ee2c945eb53ae4cc3c6262499e896afb5 (diff) |
Remove scaffolding
Change-Id: I4acebbf76556428bb45356c8e5b85c72a85a1656
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vnet/bfd')
-rw-r--r-- | src/vnet/bfd/bfd_main.c | 8 | ||||
-rw-r--r-- | src/vnet/bfd/bfd_main.h | 7 |
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); |