From dbd4f52abf0429604d558b3d31112a5144a73349 Mon Sep 17 00:00:00 2001
From: miter <[email protected]>
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 <[email protected]>
---
 lib/odp-execute.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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);
     }
--
2.25.1
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to