diff mbox series

[ovs-dev] odp-execute.c : Fix odp_execute_clone if-else coding style.

Message ID ME3PR01MB5781A47B70550DECAF648DC4CD249@ME3PR01MB5781.ausprd01.prod.outlook.com
State Superseded
Headers show
Series [ovs-dev] odp-execute.c : Fix odp_execute_clone if-else coding style. | expand

Commit Message

lin huang May 26, 2021, 11:54 a.m. UTC
Author: miter <linhuang@ruijie.com.cn>
Date:   Wed May 26 19:51:29 2021 +0800

     odp-execute.c : Fix odp_execute_clone if-else coding style.

     Signed-off-by: Miter Lin <linhuang@ruijie.com.cn>

                              nl_attr_get_size(actions), dp_execute_action);
      }
diff mbox series

Patch

diff --git a/lib/odp-execute.c b/lib/odp-execute.c
index 6eeda2a61..95c8d71d2 100644
--- a/lib/odp-execute.c
+++ b/lib/odp-execute.c
@@ -735,8 +735,7 @@  odp_execute_clone(void *dp, struct dp_packet_batch 
*batch, bool steal,
          dp_packet_batch_reset_cutlen(batch);
          odp_execute_actions(dp, &clone_pkt_batch, true, 
nl_attr_get(actions),
                          nl_attr_get_size(actions), dp_execute_action);
-    }
-    else {
+    } else {
          odp_execute_actions(dp, batch, true, nl_attr_get(actions),