ofproto: Make ofoperation_create() return the new operation.
authorBen Pfaff <blp@nicira.com>
Wed, 27 Jun 2012 23:00:08 +0000 (16:00 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 6 Jul 2012 17:02:47 +0000 (10:02 -0700)
commita7d94793c930d90a774a48ef3dada54d21a9c5cd
tree8394e7068ebfcda470d5cd4194aa63c7abfb4f07
parentcc75d2c7d1b93fc7efc07267f31ca5b833735dc8
ofproto: Make ofoperation_create() return the new operation.

This seems like sensible return value semantics to me, even though the new
operation is also available through rule->pending.

This is a code cleanup only that should not affect behavior.

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