diff --git a/zconf/lsluns b/zconf/lsluns index 43af5102..45e502d4 100755 --- a/zconf/lsluns +++ b/zconf/lsluns @@ -215,7 +215,6 @@ sub get_env_list my $p_ref_list = shift(); my @res ; my %res_hash; - my @t_arr; @res = ; return () if (!@res); @@ -226,20 +225,6 @@ sub get_env_list next if (@$p_ref_list && "@$p_ref_list" !~ /$p/); push @{ $res_hash{$a} }, $p; } - foreach my $a (sort @$a_ref_list) { - if ("@{[keys %res_hash]}" !~ /$a/) { - print "\tNo valid combination found for adapter '$a'. ", - "Removing from resource list.\n"; - } - } - - push @t_arr, map { @{$res_hash{$_}} } keys %res_hash; - foreach my $p (@$p_ref_list) { - if ("@t_arr" !~ /$p/) { - print "\tNo valid combination found for port '$p'. ", - "Removing from resource list.\n"; - } - } if (!%res_hash) { print "$PROGRAM_NAME: Adapter and/or port filter(s) did not match anything\n";