summaryrefslogtreecommitdiffstats
path: root/convert/merge2pcitable.pl
diff options
context:
space:
mode:
Diffstat (limited to 'convert/merge2pcitable.pl')
-rwxr-xr-xconvert/merge2pcitable.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/convert/merge2pcitable.pl b/convert/merge2pcitable.pl
index 4fb3dfbc..c5df4235 100755
--- a/convert/merge2pcitable.pl
+++ b/convert/merge2pcitable.pl
@@ -325,7 +325,7 @@ sub merge_entries_with_wildcards {
my ($drivers, $classes) = @_;
foreach (keys %$classes) {
my ($vendor, $id, $subvendor, $subid);
- next unless ($vendor, $id, $subvendor, $subid) = ($_ =~ /^([0-9a-f]{4,4})([0-9a-f]{4,4})/);
+ next unless ($vendor, $id, $subvendor, $subid) = /^([0-9a-f]{4,4})([0-9a-f]{4,4})/;
# handle PCI_ANY_ID as PCI device ID:
if ($vendor !~ /ffff$/ && $id =~ /ffff$/) {