diff -r 96e5fb8b040d -r 36bfc973b146 kerneltest/e32test/iic/iic_psl/i2c.cpp --- a/kerneltest/e32test/iic/iic_psl/i2c.cpp Thu Dec 17 09:24:54 2009 +0200 +++ b/kerneltest/e32test/iic/iic_psl/i2c.cpp Thu Jan 07 13:38:45 2010 +0200 @@ -125,10 +125,6 @@ aDes.Copy((TUint8*)&caps,size); } - -DSimulatedI2cDevice* gDummyDevice; - - // supported channels for this implementation static DIicBusChannel* ChannelPtrArray[NUM_CHANNELS]; @@ -136,12 +132,6 @@ //DECLARE_EXTENSION_WITH_PRIORITY(BUS_IMPLMENTATION_PRIORITY) DECLARE_STANDARD_PDD() // I2c test driver to be explicitly loaded as an LDD, not kernel extension { - if(gDummyDevice == NULL) - gDummyDevice = new DSimulatedI2cDevice; - if(gDummyDevice == NULL) - return NULL; - I2C_PRINT(("\n\nI2C PDD, channel creation loop follows ...\n")); - #ifndef STANDALONE_CHANNEL DIicBusChannel* chan=NULL; for(TInt i=0; i