Author: lslezak
Date: Thu Jan 10 10:19:20 2008
New Revision: 43512
URL: http://svn.opensuse.org/viewcvs/yast?rev=43512&view=rev
Log:
- removed unused functions
Modified:
trunk/tv/src/Tv.ycp
Modified: trunk/tv/src/Tv.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/tv/src/Tv.ycp?rev=43512&r1=43511&r2=43512&view=diff
==============================================================================
--- trunk/tv/src/Tv.ycp (original)
+++ trunk/tv/src/Tv.ycp Thu Jan 10 10:19:20 2008
@@ -1517,35 +1517,6 @@
return result;
}
- global map GetBusInfo() {
- list<map> detected = (list<map>)SCR::Read(.probe.tv);
-
- list<map> probe_dvb = (list<map>)SCR::Read(.probe.dvb);
-
- if (probe_dvb != nil)
- {
- detected = (list<map>)merge(detected, probe_dvb);
- }
-
- map ret = $[];
-
- foreach(map d, detected, {
- string uniq = d["unique_key"]:"";
- string bus = d["bus_hwcfg"]:"";
- string busid = d["sysfs_bus_id"]:"";
-
- if (uniq != nil && uniq != "" && bus != nil && bus != "" && busid != nil && busid != "")
- {
- ret[uniq] = bus + "-" + busid;
- }
- }
- );
-
- y2milestone("businfo: %1", ret);
-
- return ret;
- }
-
define string GetStaticConfig(string uniq)
{
string file = "";
@@ -1852,10 +1823,6 @@
i = i + 1;
}
- // get card info
- // FIXME: not used
- map busmap = GetBusInfo();
-
// for cards choosed to delete...
foreach (map card, (list