diff options
author | Paul Boca <pboca@cloudbasesolutions.com> | 2016-04-18 09:46:07 +0000 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2016-04-21 11:30:35 -0700 |
commit | 5278f6980c9c7bb16babff46393465d425eecc28 (patch) | |
tree | 496e670af947e657b5acbf740d8e71355ae99a51 /datapath-windows/ovsext/Actions.c | |
parent | 12f1ba41a3d321a7cc5c1146a99a1170d55c5189 (diff) | |
download | openvswitch-5278f6980c9c7bb16babff46393465d425eecc28.tar.gz |
datapath-windows: Removed double initialization on local variables
Signed-off-by: Paul-Daniel Boca <pboca@cloudbasesolutions.com>
Acked-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'datapath-windows/ovsext/Actions.c')
-rw-r--r-- | datapath-windows/ovsext/Actions.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/datapath-windows/ovsext/Actions.c b/datapath-windows/ovsext/Actions.c index cf54ae20a..5dae6b43d 100644 --- a/datapath-windows/ovsext/Actions.c +++ b/datapath-windows/ovsext/Actions.c @@ -983,7 +983,7 @@ static __inline NDIS_STATUS OvsOutputBeforeSetAction(OvsForwardingContext *ovsFwdCtx) { PNET_BUFFER_LIST newNbl; - NDIS_STATUS status = NDIS_STATUS_SUCCESS; + NDIS_STATUS status; /* * Create a copy and work on the copy after this point. The original NBL is @@ -1142,7 +1142,7 @@ static __inline NDIS_STATUS OvsActionMplsPop(OvsForwardingContext *ovsFwdCtx, ovs_be16 ethertype) { - NDIS_STATUS status = NDIS_STATUS_SUCCESS; + NDIS_STATUS status; OVS_PACKET_HDR_INFO *layers = &ovsFwdCtx->layers; EthHdr *ethHdr = NULL; @@ -1945,7 +1945,7 @@ OvsActionsExecute(POVS_SWITCH_CONTEXT switchContext, const PNL_ATTR actions, INT actionsLen) { - NDIS_STATUS status = STATUS_SUCCESS; + NDIS_STATUS status; status = OvsDoExecuteActions(switchContext, completionList, curNbl, portNo, sendFlags, key, hash, layers, @@ -1974,8 +1974,8 @@ OvsDoRecirc(POVS_SWITCH_CONTEXT switchContext, UINT32 srcPortNo, OVS_PACKET_HDR_INFO *layers) { - NDIS_STATUS status = NDIS_STATUS_SUCCESS; - OvsFlow *flow = NULL; + NDIS_STATUS status; + OvsFlow *flow; OvsForwardingContext ovsFwdCtx = { 0 }; UINT64 hash = 0; ASSERT(layers); |