lowlevellibsandfws/pluginfw/Framework/EcomTestUtils/EcomTestUtils.cpp
branchRCL_3
changeset 57 2efc27d87e1c
parent 56 acd3cd4aaceb
--- a/lowlevellibsandfws/pluginfw/Framework/EcomTestUtils/EcomTestUtils.cpp	Tue Aug 31 16:54:36 2010 +0300
+++ b/lowlevellibsandfws/pluginfw/Framework/EcomTestUtils/EcomTestUtils.cpp	Wed Sep 01 12:36:54 2010 +0100
@@ -208,13 +208,8 @@
 		}
 
 	//determine the ROM confguration (NAND or non-NAND)
-	TInt r = KErrNone;
 	RFs fs;
-	r = fs.Connect();
-	if (r != KErrNone)
-		{
-			return r;
-		}
+	fs.Connect();
 	TBool nandBuild = (EComTestUtils::RomBuildType(fs)==ENandRomBuild);
 	fs.Close();
 	
@@ -256,12 +251,8 @@
 			//is also checking the media type of C drive to determine the same.
 			//Currently added this check for WDP enabled in case of H4 'muid == HAL::EMachineUid_OmapH4' only
 			TDriveInfo driveInfo;
-			TInt rf = KErrNone;
-			rf = fs.Connect();
-			if (rf != KErrNone)
-		  		{
-			  return rf;
-		  		}
+			
+			fs.Connect();
 			fs.Drive(driveInfo, EDriveC);
 			fs.Close();