Author: aschnell
Date: Thu Mar 18 12:29:20 2010
New Revision: 61377
URL: http://svn.opensuse.org/viewcvs/yast?rev=61377&view=rev
Log:
- some cleanup
Modified:
trunk/storage/storage/src/modules/StorageDevices.ycp
Modified: trunk/storage/storage/src/modules/StorageDevices.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/StorageDevices.ycp?rev=61377&r1=61376&r2=61377&view=diff
==============================================================================
--- trunk/storage/storage/src/modules/StorageDevices.ycp (original)
+++ trunk/storage/storage/src/modules/StorageDevices.ycp Thu Mar 18 12:29:20 2010
@@ -399,7 +399,7 @@
map localProbe()
{
- map targets = $[];
+ map targets = $[];
if( Mode::test () )
{
return fakeProbe();
@@ -414,15 +414,11 @@
{
// somehow, we couldn't find any harddisks for installation.
// This is a fatal error, we can't do anything about it
- return (map) targets;
+ return targets;
}
// loop over all_disks, constructing targets map
- integer ide_count = 0;
- integer scsi_count = 0;
- integer raid_count = 0;
- integer other_count = 0;
string fake_raid = "";
map target = $[];
zip_drives = $[];
@@ -476,14 +472,10 @@
target["device"] = ddevice;
if( size(disk["bios_id"]:"")>0 )
- {
target["bios_id"] = disk["bios_id"]:"";
- }
y2milestone("localProbe: disk: %1", ddevice );
- // call fdisk agent to get size information
-
// ------------------------------------------------------
// construct full target name
@@ -552,7 +544,7 @@
y2milestone( "localProbe: FloppyDrives %1", FloppyDrives() );
y2milestone( "localProbe: ZipDrives %1", ZipDrives() );
- return (map) targets;
+ return targets;
}
/*
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org