[ovs-dev] [PATCH v1] dpif-netdev: Fix dead code in mfex command

kumar Amber kumar.amber at intel.com
Mon Aug 16 08:03:30 UTC 2021


The commit removes the dead code from the
MFEX set command as highlighted by static tool
analysis.

Fixes: a395b132b7 ("dpif-netdev: Add packet count and core id paramters for study")
Signed-off-by: kumar Amber <kumar.amber at intel.com>
---
 lib/dpif-netdev.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c
index 03f460c7d..d88c5cba7 100644
--- a/lib/dpif-netdev.c
+++ b/lib/dpif-netdev.c
@@ -1180,7 +1180,6 @@ dpif_miniflow_extract_impl_set(struct unixctl_conn *conn, int argc,
         } else {
             ds_put_format(&reply, "Error: unknown argument %s.\n", argv[1]);
             goto error;
-            break;
         }
     }
 
-- 
2.25.1



More information about the dev mailing list