- Remove dead code

- Fixes coverity error 85

svn path=/branches/aicom-network-fixes/; revision=36538
This commit is contained in:
Cameron Gutman 2008-09-26 18:10:50 +00:00
parent 82e25f4548
commit 337a43d553

View file

@ -485,16 +485,9 @@ NDIS_STATUS STDCALL ProtocolReceive(
}
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"));