From: Ethan Jackson Date: Tue, 16 Oct 2012 22:40:27 +0000 (-0700) Subject: ofp-actions: Remove unused variable. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f606c7e99465477cf0533ecbc4795a0f8fe635e0;p=openvswitch ofp-actions: Remove unused variable. Signed-off-by: Ethan Jackson --- diff --git a/lib/ofp-actions.c b/lib/ofp-actions.c index 4a72e29c..4a63acb3 100644 --- a/lib/ofp-actions.c +++ b/lib/ofp-actions.c @@ -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;