aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lisp/lisp-cp/one_api.c2
-rw-r--r--src/vlibapi/api_common.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/lisp/lisp-cp/one_api.c b/src/plugins/lisp/lisp-cp/one_api.c
index 3969dd245ab..c88c45e1712 100644
--- a/src/plugins/lisp/lisp-cp/one_api.c
+++ b/src/plugins/lisp/lisp-cp/one_api.c
@@ -44,7 +44,6 @@ static u32 one_base_msg_id;
#define REPLY_DETAILS(t, body) \
do { \
vl_api_registration_t * reg; \
- rv = vl_msg_api_pd_handler (mp, rv); \
reg = vl_api_client_index_to_registration (mp->client_index); \
if (!reg) \
return; \
@@ -1363,7 +1362,6 @@ vl_api_one_stats_dump_t_handler (vl_api_one_stats_dump_t * mp)
{
vl_api_one_stats_details_t *rmp;
lisp_api_stats_t *stats, *stat;
- u8 rv = 0;
stats = vnet_lisp_get_stats ();
vec_foreach (stat, stats)
diff --git a/src/vlibapi/api_common.h b/src/vlibapi/api_common.h
index 6311724247f..35d3b2a110e 100644
--- a/src/vlibapi/api_common.h
+++ b/src/vlibapi/api_common.h
@@ -190,7 +190,6 @@ void vl_msg_api_post_mortem_dump (void);
void vl_msg_api_post_mortem_dump_enable_disable (int enable);
void vl_msg_api_register_pd_handler (void *handler,
u16 msg_id_host_byte_order);
-int vl_msg_api_pd_handler (void *mp, int rv);
void vl_msg_api_set_first_available_msg_id (u16 first_avail);
u16 vl_msg_api_get_msg_ids (const char *name, int n);