summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-19 17:46:40 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-19 17:46:40 +0000
commit40b00a74ea22b475df3cdac63b0e5bcf4127d846 (patch)
treea22ed3dc8840dbfc011ba304e3f73b98b81c3944
parent02c2db42de5482f54336be5735dc969178814b0c (diff)
downloaddrakx-40b00a74ea22b475df3cdac63b0e5bcf4127d846.tar
drakx-40b00a74ea22b475df3cdac63b0e5bcf4127d846.tar.gz
drakx-40b00a74ea22b475df3cdac63b0e5bcf4127d846.tar.bz2
drakx-40b00a74ea22b475df3cdac63b0e5bcf4127d846.tar.xz
drakx-40b00a74ea22b475df3cdac63b0e5bcf4127d846.zip
(getModem) simplify
-rw-r--r--perl-install/detect_devices.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index b760a436c..d02c5dd78 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -418,8 +418,7 @@ sub getSerialModem {
}
sub getModem() {
- my @pci_modems = matching_driver('www\.linmodems\.org');
- getSerialModem({}), @pci_modems;
+ getSerialModem({}), matching_driver('www\.linmodems\.org');
}
sub getSpeedtouch() {