ofproto: Make ofproto_rule_destroy__() do nothing for a null argument.
authorBen Pfaff <blp@nicira.com>
Tue, 3 Jan 2012 18:16:15 +0000 (10:16 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 1 Feb 2012 22:15:15 +0000 (14:15 -0800)
commit1eae3d335aad4119c6c50fbac9bf810a86886924
tree2d092636a78c1852127eed593adb71518d2ea658
parente0181a21131df8888a644593859f8ceb6c0ff6f8
ofproto: Make ofproto_rule_destroy__() do nothing for a null argument.

This is our customary way to implement a "destroy" function.  It allows
a minor simplification in ofoperation_complete().

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