[ovs-dev] [PATCH] datapath-windows: Remove dead code from PacketIO
Alin Serdean
aserdean at cloudbasesolutions.com
Thu Dec 8 17:57:19 UTC 2016
Assigning value to 'nativeNbls' has no effect outside the function and
the variable is not used inside the function.
Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
---
datapath-windows/ovsext/PacketIO.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/datapath-windows/ovsext/PacketIO.c b/datapath-windows/ovsext/PacketIO.c
index a0ddc3d..e30a0c1 100644
--- a/datapath-windows/ovsext/PacketIO.c
+++ b/datapath-windows/ovsext/PacketIO.c
@@ -193,7 +193,6 @@ OvsAppendNativeForwardedPacket(POVS_SWITCH_CONTEXT switchContext,
NDIS_STRING filterReason;
*nativeNbls = curNbl;
- nativeNbls = &(curNbl->Next);
ctx = OvsInitExternalNBLContext(switchContext, curNbl, isRecv);
if (ctx == NULL) {
--
2.10.2.windows.1
More information about the dev
mailing list