diff options
author | Anssi Hannula <anssi@mandriva.org> | 2009-11-01 19:44:38 +0000 |
---|---|---|
committer | Anssi Hannula <anssi@mandriva.org> | 2009-11-01 19:44:38 +0000 |
commit | 965d936f1e4bc82be8be75fef4573df435fe57dd (patch) | |
tree | 8db11cf12c228369f07c6f83b27c567500104bb9 /convert/merge2pcitable.pl | |
parent | f25dfa357a87fd2abc1a821a650e6489bc97eb66 (diff) | |
download | ldetect-lst-965d936f1e4bc82be8be75fef4573df435fe57dd.tar ldetect-lst-965d936f1e4bc82be8be75fef4573df435fe57dd.tar.gz ldetect-lst-965d936f1e4bc82be8be75fef4573df435fe57dd.tar.bz2 ldetect-lst-965d936f1e4bc82be8be75fef4573df435fe57dd.tar.xz ldetect-lst-965d936f1e4bc82be8be75fef4573df435fe57dd.zip |
perl_checker cleanups in merge2pcitable.pl
Diffstat (limited to 'convert/merge2pcitable.pl')
-rwxr-xr-x | convert/merge2pcitable.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/convert/merge2pcitable.pl b/convert/merge2pcitable.pl index e4486f0f..c5949093 100755 --- a/convert/merge2pcitable.pl +++ b/convert/merge2pcitable.pl @@ -351,9 +351,9 @@ sub read_nvidia_readme { my $section; foreach (cat_($f)) { chomp; - last if ($section > 3); + last if $section > 3; if (!($section % 2)) { - next unless (/^\s+NVIDIA GPU product\s+Device PCI ID/); + next unless /^\s+NVIDIA GPU product\s+Device PCI ID/; $section++; next; } @@ -361,7 +361,7 @@ sub read_nvidia_readme { $section++; next; } - next if (/^\s+-+[\s-]+$/); + next if /^\s+-+[\s-]+$/; my ($description, $id) = /^\s+(.+?)\s+0x(....)/; $drivers{"10de" . lc($id) . "ffffffff"} = [ 'Card:NVIDIA_UNKNOWN', $description ]; } |