diff options
author | Neale Ranns <neale.ranns@cisco.com> | 2020-10-26 13:00:06 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-10-28 16:55:35 +0000 |
commit | e4031131ccddd7c4eb683b36f1a97a65dcff008a (patch) | |
tree | ef469ab6a2188bd3ce7ab0daacb0d9ef14fca632 /src/vnet/ip/ip4_input.c | |
parent | 224a3c03d9aa34259ac3816c0039f2776d6da5ef (diff) |
misc: Break the big IP header files to improve compile time
Type: refactor
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Change-Id: Id1801519638a9b97175847d7ed58824fb83433d6
Diffstat (limited to 'src/vnet/ip/ip4_input.c')
-rw-r--r-- | src/vnet/ip/ip4_input.c | 14 |
1 files changed, 0 insertions, 14 deletions
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 * |