This commit removes the unused variables in ofproto_trace() function. Signed-off-by: Alex Wang <al...@nicira.com> --- ofproto/ofproto-dpif.c | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index 5dc4ac0..c1347ef 100644 --- a/ofproto/ofproto-dpif.c +++ b/ofproto/ofproto-dpif.c @@ -5274,8 +5274,6 @@ ofproto_trace(struct ofproto_dpif *ofproto, const struct flow *flow, } if (rule) { - uint64_t odp_actions_stub[1024 / 8]; - struct ofpbuf odp_actions; struct trace_ctx trace; struct match match; uint8_t tcp_flags; @@ -5283,8 +5281,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); trace.xin.resubmit_hook = trace_resubmit; trace.xin.report_hook = trace_report; -- 1.7.9.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev