From e0181a21131df8888a644593859f8ceb6c0ff6f8 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 3 Jan 2012 10:15:28 -0800 Subject: [PATCH] ofproto: Remove unnecessary assignment from ofoperation_complete(). Nothing uses op->victim following this assignment, so it is not needed. Signed-off-by: Ben Pfaff --- ofproto/ofproto.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 822f1fb0..465704b6 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -3304,7 +3304,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: -- 2.30.2