From 965d936f1e4bc82be8be75fef4573df435fe57dd Mon Sep 17 00:00:00 2001 From: Anssi Hannula Date: Sun, 1 Nov 2009 19:44:38 +0000 Subject: perl_checker cleanups in merge2pcitable.pl --- convert/merge2pcitable.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'convert') 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 ]; } -- cgit v1.2.1