From: Ben Pfaff Date: Tue, 3 Jan 2012 18:15:28 +0000 (-0800) Subject: ofproto: Remove unnecessary assignment from ofoperation_complete(). X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0181a21131df8888a644593859f8ceb6c0ff6f8;p=openvswitch ofproto: Remove unnecessary assignment from ofoperation_complete(). Nothing uses op->victim following this assignment, so it is not needed. Signed-off-by: Ben Pfaff --- 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: