diff options
author | Damien Chaumette <dchaumette@mandriva.com> | 2002-10-18 15:37:28 +0000 |
---|---|---|
committer | Damien Chaumette <dchaumette@mandriva.com> | 2002-10-18 15:37:28 +0000 |
commit | 226f266b3f6c8487d9f8c38c55f6e3bc9adc77ad (patch) | |
tree | 6b45d010018ad44102949318701b0ded853a33f4 /perl-install/network/netconnect.pm | |
parent | 8d085834abd60e8ca890750352871c7f4151a735 (diff) | |
download | drakx-226f266b3f6c8487d9f8c38c55f6e3bc9adc77ad.tar drakx-226f266b3f6c8487d9f8c38c55f6e3bc9adc77ad.tar.gz drakx-226f266b3f6c8487d9f8c38c55f6e3bc9adc77ad.tar.bz2 drakx-226f266b3f6c8487d9f8c38c55f6e3bc9adc77ad.tar.xz drakx-226f266b3f6c8487d9f8c38c55f6e3bc9adc77ad.zip |
remove useless 'pop'
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r-- | perl-install/network/netconnect.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 8277672ce..cd8ccdec0 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -78,14 +78,13 @@ sub detect { my $modem = {}; require network::modem; network::modem->import; - my ($modem, @pci_modems) = detect_devices::getModem; pop @pci_modems; + my ($modem, @pci_modems) = detect_devices::getModem; $modem->{device} and $auto_detect->{modem} = $modem->{device}; show_pci_modems(@pci_modems) if @pci_modems; } sub show_pci_modems { my @l = map { ' - ' . $_->{description} } @_; - pop @l; $in->ask_warn(_("Warning"), _("You have internal winmodem(s) :\n\n%s\n\n Go to http://www.linmodem.org for further information", join ("\n", @l))); } |