kernel/eka/memmodel/epoc/flexible/mmu/mrom.cpp
branchRCL_3
changeset 294 039a3e647356
parent 257 3e88ff8f41d5
--- a/kernel/eka/memmodel/epoc/flexible/mmu/mrom.cpp	Wed Sep 15 13:42:27 2010 +0300
+++ b/kernel/eka/memmodel/epoc/flexible/mmu/mrom.cpp	Wed Oct 13 16:04:24 2010 +0300
@@ -502,8 +502,6 @@
 		}
 
 	TAny* null = 0;
-	if(aDevice->iType & DPagingDevice::EMediaExtension)
-		__e32_atomic_store_ord_ptr(&iDevice, null);
 	if(!__e32_atomic_cas_ord_ptr(&iDevice, &null, aDevice)) // set iDevice=aDevice if it was originally 0
 		{
 		// ROM paging device already registered...