From e4031131ccddd7c4eb683b36f1a97a65dcff008a Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Mon, 26 Oct 2020 13:00:06 +0000 Subject: misc: Break the big IP header files to improve compile time Type: refactor Signed-off-by: Neale Ranns Change-Id: Id1801519638a9b97175847d7ed58824fb83433d6 --- src/vnet/ip/ip4_input.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/vnet/ip/ip4_input.c') diff --git a/src/vnet/ip/ip4_input.c b/src/vnet/ip/ip4_input.c index 4d48db8f567..bf8e05c1bab 100644 --- a/src/vnet/ip/ip4_input.c +++ b/src/vnet/ip/ip4_input.c @@ -451,20 +451,6 @@ ip4_init (vlib_main_t * vm) VLIB_INIT_FUNCTION (ip4_init); -static clib_error_t * -ip4_main_loop_enter (vlib_main_t * vm) -{ - ip4_main_t *im = &ip4_main; - vlib_thread_main_t *tm = &vlib_thread_main; - u32 n_vlib_mains = tm->n_vlib_mains; - - throttle_init (&im->arp_throttle, n_vlib_mains, 1e-3); - - return (NULL); -} - -VLIB_MAIN_LOOP_ENTER_FUNCTION (ip4_main_loop_enter); - /* * fd.io coding-style-patch-verification: ON * -- cgit 1.2.3-korg