[ovs-dev] [PATCH] ofp-actions: Remove unused variable.
Ethan Jackson
ethan at nicira.com
Tue Oct 16 22:40:46 UTC 2012
Signed-off-by: Ethan Jackson <ethan at nicira.com>
---
lib/ofp-actions.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/ofp-actions.c b/lib/ofp-actions.c
index 4a72e29..4a63acb 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;
--
1.7.12
More information about the dev
mailing list