diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-08-02 18:10:11 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-08-02 18:10:11 +0000 |
commit | c3534cf28991441f5ce75f31dd6b78bafe42ffb1 (patch) | |
tree | cd4b9cbfbdac1d0af1b15eaef67e7df27c514c1a /convert | |
parent | f123d4867bcf2c9bc8ba18661dcf6c060a135060 (diff) | |
download | ldetect-lst-c3534cf28991441f5ce75f31dd6b78bafe42ffb1.tar ldetect-lst-c3534cf28991441f5ce75f31dd6b78bafe42ffb1.tar.gz ldetect-lst-c3534cf28991441f5ce75f31dd6b78bafe42ffb1.tar.bz2 ldetect-lst-c3534cf28991441f5ce75f31dd6b78bafe42ffb1.tar.xz ldetect-lst-c3534cf28991441f5ce75f31dd6b78bafe42ffb1.zip |
simplify
Diffstat (limited to 'convert')
-rwxr-xr-x | convert/merge2pcitable.pl | 2 |
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$/) { |