diff options
Diffstat (limited to 'src/vlibmemory')
-rw-r--r-- | src/vlibmemory/api.h | 1 | ||||
-rw-r--r-- | src/vlibmemory/memclnt_api.c | 13 |
2 files changed, 0 insertions, 14 deletions
diff --git a/src/vlibmemory/api.h b/src/vlibmemory/api.h index 662805373ba..273cd2cee10 100644 --- a/src/vlibmemory/api.h +++ b/src/vlibmemory/api.h @@ -28,7 +28,6 @@ void vl_api_rpc_call_main_thread (void *fp, u8 * data, u32 data_length); void vl_api_force_rpc_call_main_thread (void *fp, u8 * data, u32 data_length); u16 vl_client_get_first_plugin_msg_id (const char *plugin_name); -void vl_api_send_pending_rpc_requests (vlib_main_t * vm); u8 *vl_api_serialize_message_table (api_main_t * am, u8 * vector); always_inline void diff --git a/src/vlibmemory/memclnt_api.c b/src/vlibmemory/memclnt_api.c index 299e8d93f02..d4106b10559 100644 --- a/src/vlibmemory/memclnt_api.c +++ b/src/vlibmemory/memclnt_api.c @@ -612,19 +612,6 @@ vl_api_rpc_call_reply_t_handler (vl_api_rpc_call_reply_t *mp) clib_warning ("unimplemented"); } -void -vl_api_send_pending_rpc_requests (vlib_main_t *vm) -{ - vlib_main_t *vm_global = vlib_get_first_main (); - - ASSERT (vm != vm_global); - - clib_spinlock_lock_if_init (&vm_global->pending_rpc_lock); - vec_append (vm_global->pending_rpc_requests, vm->pending_rpc_requests); - vec_reset_length (vm->pending_rpc_requests); - clib_spinlock_unlock_if_init (&vm_global->pending_rpc_lock); -} - always_inline void vl_api_rpc_call_main_thread_inline (void *fp, u8 *data, u32 data_length, u8 force_rpc) |