aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nsh/nsh_api.c
diff options
context:
space:
mode:
authorJohn Lo <loj@cisco.com>2019-04-24 16:41:07 -0400
committerNeale Ranns <nranns@cisco.com>2019-04-25 00:27:49 +0000
commit20bc56ab58189ad9fa24feaaca3e76ea8e636140 (patch)
treed1b66afc635d5de1195871e7d39886a351a1c6d5 /src/plugins/nsh/nsh_api.c
parentcdb7170ab44affe51c574eb2218744fff1bdd369 (diff)
Remove dummy_interface_tx nodes from l2tp l2xcrw and nsh
Change-Id: I51e0d4a9ec62514a85bbe4c5f56a48d60ab6f4e4 Signed-off-by: John Lo <loj@cisco.com>
Diffstat (limited to 'src/plugins/nsh/nsh_api.c')
-rw-r--r--src/plugins/nsh/nsh_api.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/plugins/nsh/nsh_api.c b/src/plugins/nsh/nsh_api.c
index e541301614b..02675f9a735 100644
--- a/src/plugins/nsh/nsh_api.c
+++ b/src/plugins/nsh/nsh_api.c
@@ -90,14 +90,6 @@ nsh_interface_admin_up_down (vnet_main_t * vnm, u32 nsh_hw_if, u32 flags)
return 0;
}
-static uword
-dummy_interface_tx (vlib_main_t * vm,
- vlib_node_runtime_t * node, vlib_frame_t * frame)
-{
- clib_warning ("you shouldn't be here, leaking buffers...");
- return frame->n_vectors;
-}
-
/**
* @brief Naming for NSH tunnel
*
@@ -118,7 +110,6 @@ format_nsh_name (u8 * s, va_list * args)
VNET_DEVICE_CLASS (nsh_device_class, static) = {
.name = "NSH",
.format_device_name = format_nsh_name,
- .tx_function = dummy_interface_tx,
.admin_up_down_function = nsh_interface_admin_up_down,
};
/* *INDENT-ON* */