summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2021-03-09 16:34:57 -0500
committerFlorin Coras <florin.coras@gmail.com>2021-03-11 17:10:54 +0000
commitaa479bb91d0c75b603e6c8828e6fffa0c70c5a0c (patch)
treeb009db538a9b68d4b99a1052923ff18689f9d9a3 /src/plugins
parent8694fbc8827ab5063df0b36aa05646a035458f2e (diff)
misc: remove cop API support (part 1)
API marked for deprecation last year due to non-inclusive language. Last supported release: 21.01. See the "adl" plugin. Type: improvement Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I931e58ced9cc8403ca5b23fd6b07e50d0ff7306b
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/adl/adl_api.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/plugins/adl/adl_api.c b/src/plugins/adl/adl_api.c
index 37c96400b70..dba3b0cc17d 100644
--- a/src/plugins/adl/adl_api.c
+++ b/src/plugins/adl/adl_api.c
@@ -108,20 +108,11 @@ static clib_error_t *
adl_api_init (vlib_main_t * vm)
{
adl_main_t *am = &adl_main;
- void register_vl_api_cop_interface_enable_disable_callback (void *);
- void register_vl_api_cop_whitelist_enable_disable_callback (void *);
-
am->vlib_main = vm;
/* Ask for a correctly-sized block of API message decode slots */
am->msg_id_base = setup_message_id_table ();
- /* Set up transitional API callbacks */
- register_vl_api_cop_interface_enable_disable_callback
- (vl_api_cop_interface_enable_disable_callback);
- register_vl_api_cop_whitelist_enable_disable_callback
- (vl_api_cop_whitelist_enable_disable_callback);
-
return 0;
}