[ovs-dev] [PATCH] odp-execute.c : Fix odp_execute_clone if-else coding style.
miter
miterv at outlook.com
Wed May 26 11:54:18 UTC 2021
Author: miter <linhuang at 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 at ruijie.com.cn>
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);
}
More information about the dev
mailing list