It is unnecessary to check ‘chassis_id’ again.
Signed-off-by: nickcooper-zhangtonghao <[email protected]>
---
ovn/controller/ovn-controller.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/ovn/controller/ovn-controller.c b/ovn/controller/ovn-controller.c
index dcab918..4d9490a 100644
--- a/ovn/controller/ovn-controller.c
+++ b/ovn/controller/ovn-controller.c
@@ -443,11 +443,11 @@ main(int argc, char *argv[])
lflow_run(&ctx, &lports, &mcgroups, &local_datapaths,
&patched_datapaths, &group_table, &ct_zones);
- if (chassis_id) {
- physical_run(&ctx, mff_ovn_geneve,
- br_int, chassis_id, &ct_zones,
- &local_datapaths, &patched_datapaths);
- }
+
+ physical_run(&ctx, mff_ovn_geneve,
+ br_int, chassis_id, &ct_zones,
+ &local_datapaths, &patched_datapaths);
+
ofctrl_put(&group_table);
}
--
1.8.3.1
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev