ofp-actions: Remove unused variable.
authorEthan Jackson <ethan@nicira.com>
Tue, 16 Oct 2012 22:40:27 +0000 (15:40 -0700)
committerEthan Jackson <ethan@nicira.com>
Tue, 16 Oct 2012 22:40:27 +0000 (15:40 -0700)
Signed-off-by: Ethan Jackson <ethan@nicira.com>
lib/ofp-actions.c

index 4a72e29cd5341e829b2f9115129b3e322c1dc728..4a63acb347a2b9f345cd2705d528e3048ef821f2 100644 (file)
@@ -1544,8 +1544,7 @@ ofpacts_put_openflow11_instructions(const struct ofpact ofpacts[],
         /* TODO:XXX Write-Actions */
         /* TODO:XXX Write-Metadata */
         if (a->type == OFPACT_CLEAR_ACTIONS) {
-            struct ofp11_instruction *oi;
-            oi = instruction_put_OFPIT11_CLEAR_ACTIONS(openflow);
+            instruction_put_OFPIT11_CLEAR_ACTIONS(openflow);
         } else if (a->type == OFPACT_GOTO_TABLE) {
             struct ofp11_instruction_goto_table *oigt;