[ovs-git] Open vSwitch: odp-util: Simplify logic in odp_flow_key_to_flow__(). (master)
dev at openvswitch.org
dev at openvswitch.org
Tue Dec 31 19:43:30 UTC 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".
The branch, master has been updated
via 21e70add7e5fc18c519ca3d46691230bf136b1e1 (commit)
from 5054d6fd32d5dd3354c1aed1bfa9fb2b7979324e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 21e70add7e5fc18c519ca3d46691230bf136b1e1
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=21e70add7e5fc18c519ca3d46691230bf136b1e1
Author: Ben Pfaff <blp at nicira.com>
odp-util: Simplify logic in odp_flow_key_to_flow__().
Simplify (a && b) || (!a && c) to just a ? b : c.
Signed-off-by: Ben Pfaff <blp at nicira.com>
-----------------------------------------------------------------------
Summary of changes:
lib/odp-util.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
hooks/post-receive
--
Open vSwitch
More information about the git
mailing list