ovs-ofctl: Drop assignment whose value is never used.
[openvswitch] / utilities / ovs-ofctl.c
index 2447ba285cd53deb466da83ed37263edfc0bbeed..7f24309b25f9f9839d812f13bae1980c07e3947f 100644 (file)
@@ -874,7 +874,7 @@ do_add_flows(int argc UNUSED, char *argv[])
         /* Parse and send.  str_to_flow() will expand and reallocate the data
          * in 'buffer', so we can't keep pointers to across the str_to_flow()
          * call. */
-        ofm = make_openflow(sizeof *ofm, OFPT_FLOW_MOD, &buffer);
+        make_openflow(sizeof *ofm, OFPT_FLOW_MOD, &buffer);
         str_to_flow(line, &match, buffer,
                     NULL, NULL, &priority, &idle_timeout, &hard_timeout);
         ofm = buffer->data;