]> git.proxmox.com Git - mirror_ovs.git/commit
ovn-controller: Simplify ofctrl_run(), pinctrl_run().
authornickcooper-zhangtonghao <nickcooper-zhangtonghao@opencloud.tech>
Thu, 4 Aug 2016 11:50:03 +0000 (04:50 -0700)
committerBen Pfaff <blp@ovn.org>
Sun, 14 Aug 2016 05:25:15 +0000 (22:25 -0700)
commit3d0b8206376100f35812a31a6656cfa520f57492
tree0d80f371e13baaf2a1f5c749e373784ced862f4e
parentcd423a77c655c941072ad355cfc7526d09fbe9b2
ovn-controller: Simplify ofctrl_run(), pinctrl_run().

Before calling the function "ofctrl_run" and "pinctrl_run", the "br-int"
has been checked.  Remove the conditional statements in the function may
make the code clearer.

Signed-off-by: nickcooper-zhangtonghao <nickcooper-zhangtonghao@opencloud.tech>
Signed-off-by: Ben Pfaff <blp@ovn.org>
ovn/controller/ofctrl.c
ovn/controller/pinctrl.c