summaryrefslogtreecommitdiffstats
path: root/ctrl/sysrepo-plugins/hicn-plugin/plugin/hicn_vpp_comm.c
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-12-12 12:41:15 +0000
committerGerrit Code Review <gerrit@fd.io>2019-12-12 12:41:15 +0000
commitd4f976ac3a063f7ebc8e55584c98502ce9a3dc3f (patch)
tree781223ba6493b8565f72262cb6d8a32ba6aa210b /ctrl/sysrepo-plugins/hicn-plugin/plugin/hicn_vpp_comm.c
parent44ecc43d1680bfb5d338a649f235b15d45b00695 (diff)
parent017f79bce9a131cb0369885321229db034488e7e (diff)
Merge "[HICN-449] Correct dependencies of DEB/RPM package for sysrepo."
Diffstat (limited to 'ctrl/sysrepo-plugins/hicn-plugin/plugin/hicn_vpp_comm.c')
-rw-r--r--ctrl/sysrepo-plugins/hicn-plugin/plugin/hicn_vpp_comm.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/ctrl/sysrepo-plugins/hicn-plugin/plugin/hicn_vpp_comm.c b/ctrl/sysrepo-plugins/hicn-plugin/plugin/hicn_vpp_comm.c
index e028d7840..52ae6ee90 100644
--- a/ctrl/sysrepo-plugins/hicn-plugin/plugin/hicn_vpp_comm.c
+++ b/ctrl/sysrepo-plugins/hicn-plugin/plugin/hicn_vpp_comm.c
@@ -15,20 +15,14 @@
#include "hicn_vpp_comm.h"
#include <vapi/vapi.h>
-
-
-
#define APP_NAME "hicn_plugin"
#define MAX_OUTSTANDING_REQUESTS 4
#define RESPONSE_QUEUE_SIZE 2
-vapi_ctx_t g_vapi_ctx_instance=NULL;
+vapi_ctx_t g_vapi_ctx_instance = NULL;
// Use VAPI macros to define symbols
-
-
int hicn_connect_vpp() {
-
if (g_vapi_ctx_instance == NULL) {
vapi_error_e rv = vapi_ctx_alloc(&g_vapi_ctx_instance);
rv = vapi_connect(g_vapi_ctx_instance, APP_NAME, NULL,