diff mbox series

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

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

Commit Message

miter May 26, 2021, 3:35 p.m. UTC
From dbd4f52abf0429604d558b3d31112a5144a73349 Mon Sep 17 00:00:00 2001
From: miter <linhuang@ruijie.com.cn>
Date: Wed, 26 May 2021 19:51:29 +0800
Subject: [PATCH] odp-execute.c : Fix odp_execute_clone if-else coding
  style.

Signed-off-by: linhuang <linhuang@ruijie.com.cn>
---
  lib/odp-execute.c | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

--
2.25.1
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),
                              nl_attr_get_size(actions), dp_execute_action);
      }