From bc2d31ffe9503b64d7626d53221c70da397dcfeb Mon Sep 17 00:00:00 2001 From: Alex Wang Date: Wed, 8 Jan 2014 16:52:13 -0800 Subject: [PATCH] ofproto/trace: Remove the unused variables. This commit removes the unused variables in ofproto_trace() function. Signed-off-by: Alex Wang Signed-off-by: Ben Pfaff --- ofproto/ofproto-dpif.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index 03f784086..cf6e21383 100644 --- a/ofproto/ofproto-dpif.c +++ b/ofproto/ofproto-dpif.c @@ -3845,8 +3845,6 @@ ofproto_trace(struct ofproto_dpif *ofproto, const struct flow *flow, } if (rule || ofpacts) { - uint64_t odp_actions_stub[1024 / 8]; - struct ofpbuf odp_actions; struct trace_ctx trace; struct match match; uint16_t tcp_flags; @@ -3854,8 +3852,6 @@ ofproto_trace(struct ofproto_dpif *ofproto, const struct flow *flow, tcp_flags = packet ? packet_get_tcp_flags(packet, flow) : 0; trace.result = ds; trace.flow = *flow; - ofpbuf_use_stub(&odp_actions, - odp_actions_stub, sizeof odp_actions_stub); xlate_in_init(&trace.xin, ofproto, flow, rule, tcp_flags, packet); if (ofpacts) { trace.xin.ofpacts = ofpacts; -- 2.43.0