ofproto: New helper any_pending_ops().
authorBen Pfaff <blp@nicira.com>
Wed, 11 Sep 2013 04:44:53 +0000 (21:44 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 13 Sep 2013 00:44:53 +0000 (17:44 -0700)
This function is trivial now but in an upcoming commit it will need to
become slightly more complicated, which makes writing it as a function
worthwhile.

Until then, this commit simplifies the logic, which was redundant since
the 'deletions' hmap always points into the 'pending' list anyway.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>

No differences found