aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/nsim/node.c2
-rw-r--r--src/plugins/nsim/nsim_input.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/nsim/node.c b/src/plugins/nsim/node.c
index 69dc9be919b..e78e74482ff 100644
--- a/src/plugins/nsim/node.c
+++ b/src/plugins/nsim/node.c
@@ -45,9 +45,9 @@ format_nsim_trace (u8 * s, va_list * args)
return s;
}
-#endif /* CLIB_MARCH_VARIANT */
vlib_node_registration_t nsim_node;
+#endif /* CLIB_MARCH_VARIANT */
#define foreach_nsim_error \
_(BUFFERED, "Packets buffered") \
diff --git a/src/plugins/nsim/nsim_input.c b/src/plugins/nsim/nsim_input.c
index 50dbcb97d6b..38c3891fd95 100644
--- a/src/plugins/nsim/nsim_input.c
+++ b/src/plugins/nsim/nsim_input.c
@@ -42,8 +42,6 @@ format_nsim_tx_trace (u8 * s, va_list * args)
}
#endif /* CLIB_MARCH_VARIANT */
-vlib_node_registration_t nsim_node;
-
#define foreach_nsim_tx_error \
_(TX, "Packets transmitted") \
_(DROPPED, "No buffer drops")