From e9d7babde07ea93af54336200dbd65cc64bbd7ff Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Wed, 25 Oct 2023 13:48:03 +0200 Subject: lisp: fix missing symbol issue Type: fix Change-Id: I9373dabcdb2c4ba987e732b59e63b52603010873 Signed-off-by: Damjan Marion --- src/plugins/lisp/lisp-cp/one_api.c | 2 -- src/vlibapi/api_common.h | 1 - 2 files changed, 3 deletions(-) (limited to 'src') 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); -- cgit 1.2.3-korg