summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-06-03 05:44:38 +0000
committerOlivier Blin <oblin@mandriva.org>2005-06-03 05:44:38 +0000
commit0f15b2785c8de34ffe7796cdc4b6844d972056a3 (patch)
tree4612740b2414452f129468861eae4dd2b3768e60
parent11c559375d0d541d0f5fb489601943a4787eac7f (diff)
downloaddrakx-0f15b2785c8de34ffe7796cdc4b6844d972056a3.tar
drakx-0f15b2785c8de34ffe7796cdc4b6844d972056a3.tar.gz
drakx-0f15b2785c8de34ffe7796cdc4b6844d972056a3.tar.bz2
drakx-0f15b2785c8de34ffe7796cdc4b6844d972056a3.tar.xz
drakx-0f15b2785c8de34ffe7796cdc4b6844d972056a3.zip
drop unused variable, this is done in detect_devices::get_sysfs_device_id_map()
-rw-r--r--perl-install/network/ndiswrapper.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/perl-install/network/ndiswrapper.pm b/perl-install/network/ndiswrapper.pm
index 8bbc731c9..bbcab8c7d 100644
--- a/perl-install/network/ndiswrapper.pm
+++ b/perl-install/network/ndiswrapper.pm
@@ -55,7 +55,6 @@ sub find_matching_devices {
foreach my $interface (all($net_path)) {
my $dev_path = "$net_path/$interface/device";
-l $dev_path or next;
- my $is_usb = -f "$dev_path/bInterfaceNumber";
my $map = detect_devices::get_sysfs_device_id_map($dev_path);
if (every { hex(chomp_(cat_("$dev_path/" . $map->{$_}))) eq $device->{$_} } keys %$map) {
my $driver = readlink("$net_path/$interface/driver");