mirror of
https://github.com/reactos/reactos.git
synced 2024-10-15 13:45:58 +00:00
- Remove test code which should never have come into trunk
svn path=/trunk/; revision=40715
This commit is contained in:
parent
8a953f961b
commit
da49b0b87d
|
@ -124,8 +124,6 @@ UpdateCommonBuffer(
|
|||
ULONG BufferSize;
|
||||
PUCHAR Buffer;
|
||||
NTSTATUS Status;
|
||||
PUSHORT Data;
|
||||
ULONG Index;
|
||||
|
||||
BufferLength = Position - This->CommonBufferOffset;
|
||||
while(BufferLength)
|
||||
|
@ -146,10 +144,6 @@ UpdateCommonBuffer(
|
|||
}
|
||||
else
|
||||
{
|
||||
Data = (PUSHORT)Buffer;
|
||||
for(Index = 0; Index < BytesToCopy / sizeof(USHORT); Index++)
|
||||
Data[Index] = Data[Index] + 32768;
|
||||
|
||||
This->DmaChannel->lpVtbl->CopyTo(This->DmaChannel,
|
||||
(PUCHAR)This->CommonBuffer + This->CommonBufferOffset,
|
||||
Buffer,
|
||||
|
@ -174,8 +168,7 @@ UpdateCommonBufferOverlap(
|
|||
ULONG BufferSize;
|
||||
PUCHAR Buffer;
|
||||
NTSTATUS Status;
|
||||
PUSHORT Data;
|
||||
ULONG Index;
|
||||
|
||||
|
||||
BufferLength = This->CommonBufferSize - This->CommonBufferOffset;
|
||||
while(BufferLength)
|
||||
|
@ -195,10 +188,6 @@ UpdateCommonBufferOverlap(
|
|||
}
|
||||
else
|
||||
{
|
||||
Data = (PUSHORT)Buffer;
|
||||
for(Index = 0; Index < BytesToCopy / sizeof(USHORT); Index++)
|
||||
Data[Index] = Data[Index] + 32768;
|
||||
|
||||
This->DmaChannel->lpVtbl->CopyTo(This->DmaChannel,
|
||||
(PUCHAR)This->CommonBuffer + This->CommonBufferOffset,
|
||||
Buffer,
|
||||
|
|
Loading…
Reference in a new issue