From 0f15b2785c8de34ffe7796cdc4b6844d972056a3 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 3 Jun 2005 05:44:38 +0000 Subject: drop unused variable, this is done in detect_devices::get_sysfs_device_id_map() --- perl-install/network/ndiswrapper.pm | 1 - 1 file changed, 1 deletion(-) 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"); -- cgit v1.2.1