[ovs-dev] [PATCH ovn v2 1/3] northd.c: Remove redundant condition check in ovn_dp_group_add_with_reference().

Han Zhou hzhou at ovn.org
Sun Oct 3 22:45:12 UTC 2021


Signed-off-by: Han Zhou <hzhou at ovn.org>
---
 northd/northd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/northd/northd.c b/northd/northd.c
index cf2467fe1..027c5b170 100644
--- a/northd/northd.c
+++ b/northd/northd.c
@@ -4475,7 +4475,7 @@ ovn_dp_group_add_with_reference(struct ovn_lflow *lflow_ref,
         return false;
     }
 
-    if (use_parallel_build && use_logical_dp_groups) {
+    if (use_parallel_build) {
         ovs_mutex_lock(&lflow_ref->odg_lock);
         hmapx_add(&lflow_ref->od_group, od);
         ovs_mutex_unlock(&lflow_ref->odg_lock);
-- 
2.30.2



More information about the dev mailing list