From a4aee21717e85982911b9534af1e9ae725327899 Mon Sep 17 00:00:00 2001
From: Thierry Vignaud <tvignaud@mandriva.org>
Date: Sat, 24 Jan 2004 15:34:12 +0000
Subject: kill unreachable code

---
 perl-install/network/netconnect.pm | 1 -
 1 file changed, 1 deletion(-)

(limited to 'perl-install')

diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index c317c5aca..82b95a726 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -670,7 +670,6 @@ You can find a driver on http://eciadsl.flashtux.org/"),
                     post => sub {
                         delete $ethntf->{$_} foreach keys %$ethntf;
                         add2hash($ethntf, $intf->{$ntf_name});
-                        return "lan_intf" if $type ne 'lan';
                         $::isInstall && $netc->{NET_DEVICE} eq $ethntf->{DEVICE} ? 'lan_alrd_cfg' : 'lan_protocol';
                     },
                    },
-- 
cgit v1.2.1