Skip to content

Commit

Permalink
datapath-windows: Remove dead code from PacketIO
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
Acked-by: Sairam Venugopal <[email protected]>
  • Loading branch information
Alin Serdean authored and blp committed Dec 21, 2016
1 parent 9b18406 commit a010727
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion datapath-windows/ovsext/PacketIO.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a010727

Please sign in to comment.