Author: cgutman
Date: Fri Mar 27 06:48:16 2009
New Revision: 40259
URL:
http://svn.reactos.org/svn/reactos?rev=40259&view=rev
Log:
- Remove some unnecessary code
Modified:
trunk/reactos/drivers/network/afd/afd/connect.c
Modified: trunk/reactos/drivers/network/afd/afd/connect.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/afd/co…
==============================================================================
--- trunk/reactos/drivers/network/afd/afd/connect.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/afd/afd/connect.c [iso-8859-1] Fri Mar 27 06:48:16 2009
@@ -202,16 +202,6 @@
TaCopyTransportAddress( &ConnectReq->RemoteAddress );
if( FCB->LocalAddress ) {
- RtlZeroMemory( FCB->LocalAddress,
- TaLengthOfTransportAddress
- ( &ConnectReq->RemoteAddress ) );
-
- FCB->LocalAddress->TAAddressCount = 1;
- FCB->LocalAddress->Address[0].AddressType =
- ConnectReq->RemoteAddress.Address[0].AddressType;
- FCB->LocalAddress->Address[0].AddressLength =
- ConnectReq->RemoteAddress.Address[0].AddressLength;
-
Status = WarmSocketForBind( FCB );
if( NT_SUCCESS(Status) )