ofproto: Remove unnecessary assignment from ofoperation_complete().
authorBen Pfaff <blp@nicira.com>
Tue, 3 Jan 2012 18:15:28 +0000 (10:15 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 1 Feb 2012 22:15:14 +0000 (14:15 -0800)
Nothing uses op->victim following this assignment, so it is not
needed.

Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto.c

index 822f1fb..465704b 100644 (file)
@@ -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: