summaryrefslogtreecommitdiff
path: root/ofproto/ofproto-dpif-xlate.c
diff options
context:
space:
mode:
authorBhanuprakash Bodireddy <bhanuprakash.bodireddy@intel.com>2017-10-01 08:57:38 +0100
committerBen Pfaff <blp@ovn.org>2017-11-03 13:37:22 -0700
commit4a67ca44f131d945fcd1d00884618800eb446fbb (patch)
tree0eed5efef2b72e7ea0f8f24903431429c6193788 /ofproto/ofproto-dpif-xlate.c
parent23d4d53f146d5ecb9aa8e34034125d00914f4614 (diff)
downloadopenvswitch-4a67ca44f131d945fcd1d00884618800eb446fbb.tar.gz
ofproto: Remove break after OVS_NOT_REACHED.
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> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ofproto/ofproto-dpif-xlate.c')
-rw-r--r--ofproto/ofproto-dpif-xlate.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c
index 667960d70..468cd160c 100644
--- a/ofproto/ofproto-dpif-xlate.c
+++ b/ofproto/ofproto-dpif-xlate.c
@@ -3231,7 +3231,6 @@ propagate_tunnel_data_to_flow(struct xlate_ctx *ctx, struct eth_addr dmac,
case __OVS_VPORT_TYPE_MAX:
default:
OVS_NOT_REACHED();
- break;
}
/*
* Update base_flow first followed by flow as the dst_flow gets modified
@@ -5950,7 +5949,6 @@ xlate_generic_encap_action(struct xlate_ctx *ctx,
default:
/* New packet type was checked during decoding. */
OVS_NOT_REACHED();
- break;
}
if (!ctx->error) {