summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-02 18:10:11 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-02 18:10:11 +0000
commitc3534cf28991441f5ce75f31dd6b78bafe42ffb1 (patch)
treecd4b9cbfbdac1d0af1b15eaef67e7df27c514c1a
parentf123d4867bcf2c9bc8ba18661dcf6c060a135060 (diff)
downloadldetect-lst-c3534cf28991441f5ce75f31dd6b78bafe42ffb1.tar
ldetect-lst-c3534cf28991441f5ce75f31dd6b78bafe42ffb1.tar.gz
ldetect-lst-c3534cf28991441f5ce75f31dd6b78bafe42ffb1.tar.bz2
ldetect-lst-c3534cf28991441f5ce75f31dd6b78bafe42ffb1.tar.xz
ldetect-lst-c3534cf28991441f5ce75f31dd6b78bafe42ffb1.zip
simplify
-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$/) {