diff mbox series

[ovs-dev,6/7] ofp-actions: Remove break after OVS_NOT_REACHED.

Message ID 1506844660-4902-6-git-send-email-bhanuprakash.bodireddy@intel.com
State Accepted
Headers show
Series [ovs-dev,1/7] ccmap: Use PADDED_MEMBERS macro in ccmap_impl structure. | expand

Commit Message

Bodireddy, Bhanuprakash Oct. 1, 2017, 7:57 a.m. UTC
The break statement would never be executed as OVS_NOT_REACHED()
internally invokes abort() and causes process termination.

Signed-off-by: Bhanuprakash Bodireddy <bhanuprakash.bodireddy@intel.com>
---
 lib/ofp-actions.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/lib/ofp-actions.c b/lib/ofp-actions.c
index 71eb70c..432b469 100644
--- a/lib/ofp-actions.c
+++ b/lib/ofp-actions.c
@@ -5482,7 +5482,6 @@  parse_UNROLL_XLATE(char *arg OVS_UNUSED,
                    enum ofputil_protocol *usable_protocols OVS_UNUSED)
 {
     OVS_NOT_REACHED();
-    return NULL;
 }
 
 static void