Author: aschnell Date: Wed Sep 3 18:13:37 2008 New Revision: 50633 URL: http://svn.opensuse.org/viewcvs/yast?rev=50633&view=rev Log: - removed unused functions 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=50633&r1=50632&r2=50633&view=diff ============================================================================== --- trunk/storage/storage/src/modules/StorageDevices.ycp (original) +++ trunk/storage/storage/src/modules/StorageDevices.ycp Wed Sep 3 18:13:37 2008 @@ -87,23 +87,8 @@ list idecdrws = []; // list of IDE CD-RW drivers for ide-scsi list scsicds = []; // list of SCSI CDs -global define integer TypeNameIndex( string cdtype ) - ``{ - integer idx = 0; - integer n = 0; - foreach( string t, StorageDevices::TypeNames, - ``{ - if( substring( cdtype, 0, size(t)) == t ) - { - idx = n; - } - n = n + 1; - }); - return( idx ); - } - -global define list<map> AddNormalLinknames( list<map> cddrives ) +list<map> AddNormalLinknames( list<map> cddrives ) ``{ map linknum = $[ "cdrom" : 0, "cdrecorder" : 0, @@ -150,7 +135,7 @@ return( cddrives ); } -global define list<map> AddAlternateLinks( list<map> cddrives ) +list<map> AddAlternateLinks( list<map> cddrives ) ``{ list<string> llist = []; foreach( map cd, cddrives, @@ -200,7 +185,7 @@ * Initialize cd_drives * */ -global define boolean ProbeCDROMs() +boolean ProbeCDROMs() ``{ if( cd_drives==nil ) { @@ -666,16 +651,6 @@ } -global define string UdevCdromPath() - ``{ - string pathname = "/etc/udev/rules.d/65-cdrom.rules"; - if( Installation::scr_destdir != "/" ) - { - pathname = Installation::scr_destdir + pathname; - } - return( pathname ); - } - /* * Initialize */ -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org