]> git.proxmox.com Git - mirror_ovs.git/commit - ofproto/ofproto.c
ofproto: Clean up style in ofproto_flow_mod_learn.
authorJoe Stringer <joe@ovn.org>
Tue, 21 Mar 2017 01:09:27 +0000 (18:09 -0700)
committerJoe Stringer <joe@ovn.org>
Tue, 21 Mar 2017 01:09:27 +0000 (18:09 -0700)
commit86b7637c0bd20caa06ca449c5ef380b53626b297
treea619a080a41a704db89565fa5d0de0c97df9826f
parent3d8e7354f5e981dee3301268fc498efcec6521e9
ofproto: Clean up style in ofproto_flow_mod_learn.

It's slightly more cognitive load to read an inverse condition and then
invert it again to understand the 'else' condition.

Suggested-by: Ben Pfaff <blp@ovn.org>
Signed-off-by: Joe Stringer <joe@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
ofproto/ofproto.c