Author: cgutman
Date: Fri Sep 26 13:10:50 2008
New Revision: 36538
URL:
http://svn.reactos.org/svn/reactos?rev=36538&view=rev
Log:
- Remove dead code
- Fixes coverity error 85
Modified:
branches/aicom-network-fixes/drivers/network/tcpip/datalink/lan.c
Modified: branches/aicom-network-fixes/drivers/network/tcpip/datalink/lan.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/tcpip/datalink/lan.c [iso-8859-1]
(original)
+++ branches/aicom-network-fixes/drivers/network/tcpip/datalink/lan.c [iso-8859-1] Fri Sep
26 13:10:50 2008
@@ -485,16 +485,9 @@
}
else
{
- if (NdisStatus == NDIS_STATUS_SUCCESS)
- {
- NdisTransferData(&NdisStatus, Adapter->NdisHandle,
- MacReceiveContext, 0, PacketSize,
- NdisPacket, &BytesTransferred);
- }
- else
- {
- BytesTransferred = 0;
- }
+ NdisTransferData(&NdisStatus, Adapter->NdisHandle,
+ MacReceiveContext, 0, PacketSize,
+ NdisPacket, &BytesTransferred);
}
TI_DbgPrint(DEBUG_DATALINK, ("Calling complete\n"));