[ovs-dev] [eviction 08/12] ofproto: Remove unnecessary assignment from ofoperation_complete().
Ben Pfaff
blp at nicira.com
Sat Jan 14 00:43:49 UTC 2012
Nothing uses op->victim following this assignment, so it is not
needed.
Signed-off-by: Ben Pfaff <blp at nicira.com>
---
ofproto/ofproto.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c
index ff356f4..cc309b3 100644
--- a/ofproto/ofproto.c
+++ b/ofproto/ofproto.c
@@ -3297,7 +3297,6 @@ ofoperation_complete(struct ofoperation *op, enum ofperr error)
oftable_substitute_rule(rule, op->victim);
ofproto_rule_destroy__(rule);
}
- op->victim = NULL;
break;
case OFOPERATION_DELETE:
--
1.7.2.5
More information about the dev
mailing list