summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-02 18:07:32 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-02 18:07:32 +0000
commit4362a9bbe0e5ceac9949843fb7134cacb049e9b5 (patch)
tree0ede34976f47532b316e71f3cbeab446cc36dbbb
parent50d1dd3209ea1eaf8a51539c040f9abd618e8b53 (diff)
downloadldetect-lst-4362a9bbe0e5ceac9949843fb7134cacb049e9b5.tar
ldetect-lst-4362a9bbe0e5ceac9949843fb7134cacb049e9b5.tar.gz
ldetect-lst-4362a9bbe0e5ceac9949843fb7134cacb049e9b5.tar.bz2
ldetect-lst-4362a9bbe0e5ceac9949843fb7134cacb049e9b5.tar.xz
ldetect-lst-4362a9bbe0e5ceac9949843fb7134cacb049e9b5.zip
remove unused variables
-rwxr-xr-xconvert/merge2pcitable.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/convert/merge2pcitable.pl b/convert/merge2pcitable.pl
index 9c6e3fee..6cc19147 100755
--- a/convert/merge2pcitable.pl
+++ b/convert/merge2pcitable.pl
@@ -7,7 +7,7 @@ my @ignored_modules = (
qw(alsa ignore),
);
-my ($force, @force_modules, $all, $true_all, $keep_subids, $chk_descr, $wildcards);
+my ($force, @force_modules, $all, $keep_subids, $wildcards);
if ($0 =~ /merge2pcitable/)
{
@@ -322,7 +322,7 @@ sub write_pcitable {
sub merge_entries_with_wildcards {
- my ($drivers, $new, $classes) = @_;
+ my ($drivers, $classes) = @_;
foreach (keys %$classes) {
my ($vendor, $id, $subvendor, $subid);
($vendor, $id, $subvendor, $subid) = ($_ =~ /^([0-9a-f]{4,4})([0-9a-f]{4,4})/);
@@ -345,7 +345,7 @@ sub merge_entries_with_wildcards {
sub merge {
my ($drivers, $new, $classes) = @_;
- merge_entries_with_wildcards($drivers, $new, $classes) if $wildcards;
+ merge_entries_with_wildcards($drivers, $classes) if $wildcards;
foreach (keys %$new) {
next if $new->{$_}[0] =~ /parport_pc|i810_ng/;