diff mbox series

[ovs-dev,7/7] ovsdb: Remove break after OVS_NOT_REACHED.

Message ID 1506844660-4902-7-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>
---
 ovsdb/replication.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/ovsdb/replication.c b/ovsdb/replication.c
index 304212d..8dd1181 100644
--- a/ovsdb/replication.c
+++ b/ovsdb/replication.c
@@ -874,7 +874,6 @@  replication_status(void)
             break;
         default:
             OVS_NOT_REACHED();
-            break;
         }
     } else {
         ds_put_format(&ds, "not connected to %s", sync_from);