linklayerprotocols/pppnif/SPPP/pppscpr.cpp
changeset 55 5eca823bbf17
parent 0 af10295192d8
--- a/linklayerprotocols/pppnif/SPPP/pppscpr.cpp	Sat Jul 31 02:05:39 2010 +0530
+++ b/linklayerprotocols/pppnif/SPPP/pppscpr.cpp	Wed Aug 25 09:23:03 2010 +0530
@@ -38,12 +38,6 @@
 _LIT8(KPppSCprSubTag, "pppscpr");
 #endif
 
-//We reserve space for two preallocated activities that may start concurrently on the SCPR
-//node: destroy and data client stop.
-static const TUint KDefaultMaxPreallocatedActivityCount = 2;
-static const TUint KMaxPreallocatedActivitySize = sizeof(MeshMachine::CNodeRetryParallelActivity) + sizeof(MeshMachine::APreallocatedOriginators<4>);
-static const TUint KPPPSCPRPreallocatedActivityBufferSize = KDefaultMaxPreallocatedActivityCount * KMaxPreallocatedActivitySize;
-
 namespace PppSCprStates
 {
 
@@ -101,7 +95,7 @@
     {
     CPppSubConnectionProvider* self = new (ELeave) CPppSubConnectionProvider(aFactory, PppSCprActivities::pppSCprActivities::Self());
     CleanupStack::PushL(self);
-    self->ConstructL(KPPPSCPRPreallocatedActivityBufferSize);
+    self->ConstructL();
     CleanupStack::Pop();
     return self;
     }