mirror of
https://github.com/reactos/reactos.git
synced 2024-08-12 06:06:27 +00:00
- Remove some unnecessary code
svn path=/trunk/; revision=40259
This commit is contained in:
parent
ed72b6606d
commit
3066a61fce
|
@ -202,16 +202,6 @@ AfdStreamSocketConnect(PDEVICE_OBJECT DeviceObject, PIRP Irp,
|
|||
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) )
|
||||
|
|
Loading…
Reference in a new issue