aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra
diff options
context:
space:
mode:
authorDamjan Marion <dmarion@me.com>2021-01-27 14:21:36 +0000
committerDamjan Marion <dmarion@me.com>2021-02-04 14:46:55 +0000
commit34c6c309d5ff7acfe470dac3f974271917e7b19e (patch)
treea857f1cfc410dc3d4a329a9609cdbdc1625d8cb3 /src/vppinfra
parent6b3f1c0a9cf66f82cda1dc6b15982ee910671340 (diff)
vlib: "revert startup multi-arch variant configuration fix for interfaces"
Type: fix This reverts commit 5a48b3b9d88fa2793793e2bf3db8bf156fe2951f. Change-Id: Ifa91b18bdbbc32bb729abc09d95637d9cdf42c3b Signed-off-by: Damjan Marion <damarion@cisco.com> Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/vppinfra')
-rw-r--r--src/vppinfra/cpu.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/vppinfra/cpu.h b/src/vppinfra/cpu.h
index bef2a029e94..6a812180008 100644
--- a/src/vppinfra/cpu.h
+++ b/src/vppinfra/cpu.h
@@ -84,29 +84,9 @@ clib_march_select_fn_ptr (clib_march_fn_registration * r)
return rv;
}
-static_always_inline void *
-clib_march_select_fn_ptr_by_name (clib_march_fn_registration * r, char *name)
-{
- void *rv = 0;
-
- while (r)
- {
- if (strncmp (name, r->name, vec_len (r->name) - 1) == 0)
- {
- rv = r->function;
- break;
- }
- r = r->next;
- }
- return rv;
-}
-
#define CLIB_MARCH_FN_POINTER(fn) \
clib_march_select_fn_ptr (fn##_march_fn_registrations);
-#define CLIB_MARCH_FN_POINTER_BY_NAME(fn, name) \
- clib_march_select_fn_ptr_by_name (fn##_march_fn_registrations, name);
-
#define _CLIB_MARCH_FN_REGISTRATION(fn) \
static clib_march_fn_registration \
CLIB_MARCH_SFX(fn##_march_fn_registration) = \