mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 04:13:37 +00:00
- Remove some unnecessary code
svn path=/trunk/; revision=40259
This commit is contained in:
@@ -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) )
|
||||
|
||||
Reference in New Issue
Block a user