--- a/kerneltest/e32test/dma/d_dma.cpp Tue May 11 17:28:22 2010 +0300
+++ b/kerneltest/e32test/dma/d_dma.cpp Tue May 25 14:09:55 2010 +0300
@@ -159,7 +159,6 @@
#endif
-#ifndef DMA_APIV2
static TInt FragmentCount(DDmaRequest* aRequest)
{
TInt count = 0;
@@ -167,7 +166,6 @@
count++;
return count;
}
-#endif
//////////////////////////////////////////////////////////////////////////////
@@ -390,11 +388,7 @@
{
TInt reqIdx = (TInt)a1;
__ASSERT_DEBUG(0 <= reqIdx && reqIdx < KMaxRequests, Kern::PanicCurrentThread(KClientPanicCat, __LINE__));
-#ifdef DMA_APIV2
- return iRequests[reqIdx]->FragmentCount();
-#else
return FragmentCount(iRequests[reqIdx]);
-#endif
}
case RTestDma::EMissInterrupts:
return iChannel->MissNextInterrupts((TInt)a1);