summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-07 13:17:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-07 13:17:19 +0000
commit6e08eee3099215ec076556652b0306fb2e4424f7 (patch)
treeceebdb2c2e0588ac920547c1b1668f54bcdf82ae
parent06ed40e4dab5e7b372a2de68a73698c6793bd516 (diff)
downloaddrakx-backup-do-not-use-6e08eee3099215ec076556652b0306fb2e4424f7.tar
drakx-backup-do-not-use-6e08eee3099215ec076556652b0306fb2e4424f7.tar.gz
drakx-backup-do-not-use-6e08eee3099215ec076556652b0306fb2e4424f7.tar.bz2
drakx-backup-do-not-use-6e08eee3099215ec076556652b0306fb2e4424f7.tar.xz
drakx-backup-do-not-use-6e08eee3099215ec076556652b0306fb2e4424f7.zip
remove detect_devices::check (including the annoying log about no modules for the pci entry)
-rw-r--r--perl-install/detect_devices.pm7
-rw-r--r--perl-install/modules.pm2
2 files changed, 1 insertions, 8 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 4bb3b7f18..54f803756 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -332,13 +332,6 @@ sub stringlist {
);
} probeall(@_);
}
-sub check {
- my ($l) = @_;
- my $ok = $l->{driver} !~ /(unknown|ignore)/;
- $ok or log::l("skipping $l->{description}, no module available (if you know one, please mail cooker\@mandrakesoft.com)");
- $ok
-}
-
sub tryOpen($) {
local *F;
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 751176ce5..61530652e 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -115,7 +115,7 @@ sub probe_category {
}
$b;
} else {
- detect_devices::check($_) && member($_->{driver}, @modules);
+ member($_->{driver}, @modules);
}
} detect_devices::probeall($probe_type);
}