From 620b4743b45264f488e557d8a7e3160887f7f682 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 6 Aug 2002 19:01:00 +0000 Subject: nobody pass the second argument of network::modem::modem_detect_backend() so let simplify it --- perl-install/network/modem.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'perl-install') diff --git a/perl-install/network/modem.pm b/perl-install/network/modem.pm index c90725081..8e6f445a7 100644 --- a/perl-install/network/modem.pm +++ b/perl-install/network/modem.pm @@ -66,9 +66,9 @@ sub pppConfig { #- output: #- $modem->{device} : device where the modem were detected sub modem_detect_backend { - my ($modem, $mouse) = @_; - $mouse ||={}; - $mouse->{device} ||= readlink "/dev/mouse"; + my $modem = @_; + my $mouse = {}; + $mouse->{device} = readlink "/dev/mouse"; my $serdev = arch() =~ /ppc/ ? "macserial" : "serial"; eval { modules::load($serdev) }; -- cgit v1.2.1