mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
[AFD] Zap unused TaCopyAddress() and TaCopyAddressInPlace().
This commit is contained in:
parent
e1e79f248b
commit
44e36b616a
2 changed files with 0 additions and 22 deletions
|
@ -71,26 +71,6 @@ UINT TaLengthOfTransportAddressByType(UINT AddressType)
|
|||
return AddrLen;
|
||||
}
|
||||
|
||||
VOID TaCopyAddressInPlace( PTA_ADDRESS Target,
|
||||
PTA_ADDRESS Source ) {
|
||||
UINT AddrLen = TaLengthOfAddress( Source );
|
||||
RtlCopyMemory( Target, Source, AddrLen );
|
||||
}
|
||||
|
||||
PTA_ADDRESS TaCopyAddress( PTA_ADDRESS Source ) {
|
||||
UINT AddrLen = TaLengthOfAddress( Source );
|
||||
PVOID Buffer;
|
||||
if (!AddrLen)
|
||||
return NULL;
|
||||
|
||||
Buffer = ExAllocatePool( NonPagedPool, AddrLen );
|
||||
|
||||
if (Buffer)
|
||||
RtlCopyMemory( Buffer, Source, AddrLen );
|
||||
|
||||
return Buffer;
|
||||
}
|
||||
|
||||
VOID TaCopyTransportAddressInPlace( PTRANSPORT_ADDRESS Target,
|
||||
PTRANSPORT_ADDRESS Source ) {
|
||||
UINT AddrLen = TaLengthOfTransportAddress( Source );
|
||||
|
|
|
@ -6,8 +6,6 @@ PTRANSPORT_ADDRESS TaCopyTransportAddress( PTRANSPORT_ADDRESS OtherAddress );
|
|||
PTRANSPORT_ADDRESS TaBuildNullTransportAddress(UINT AddressType);
|
||||
UINT TaLengthOfAddress( PTA_ADDRESS Addr );
|
||||
UINT TaLengthOfTransportAddress( PTRANSPORT_ADDRESS Addr );
|
||||
VOID TaCopyAddressInPlace( PTA_ADDRESS Target, PTA_ADDRESS Source );
|
||||
PTA_ADDRESS TaCopyAddress( PTA_ADDRESS Source );
|
||||
VOID TaCopyTransportAddressInPlace( PTRANSPORT_ADDRESS Target,
|
||||
PTRANSPORT_ADDRESS Source );
|
||||
UINT TdiAddressSizeFromType( UINT Type );
|
||||
|
|
Loading…
Reference in a new issue