summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2016-04-29 17:04:50 +0200
committerFlorin Coras <fcoras@cisco.com>2016-04-29 17:04:50 +0200
commit7deadac47eac81bd14fed9b999d73b08cc593f76 (patch)
tree25372ec776a30f55b8243edc153dba85e411e0a5
parent27fe48f6990d00829c5b60f7cc4b532705baea25 (diff)
Remove unused variable in lisp decap
Change-Id: I6aef98252e6134fd2f1a30a8407086ab98285a53 Signed-off-by: Florin Coras <fcoras@cisco.com>
-rw-r--r--vnet/vnet/lisp-gpe/decap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/vnet/vnet/lisp-gpe/decap.c b/vnet/vnet/lisp-gpe/decap.c
index 807d4dad..fc5f72f4 100644
--- a/vnet/vnet/lisp-gpe/decap.c
+++ b/vnet/vnet/lisp-gpe/decap.c
@@ -82,12 +82,9 @@ lisp_gpe_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
vlib_frame_t * from_frame, u8 is_v4)
{
u32 n_left_from, next_index, * from, * to_next;
- lisp_gpe_tunnel_key_t last_key;
u32 pkts_decapsulated = 0;
lisp_gpe_main_t * lgm = &lisp_gpe_main;
- memset (&last_key, 0xff, sizeof (last_key));
-
from = vlib_frame_vector_args (from_frame);
n_left_from = from_frame->n_vectors;