summaryrefslogtreecommitdiffstats
path: root/convert/merge2pcitable.pl
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-02 18:09:40 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-02 18:09:40 +0000
commitf123d4867bcf2c9bc8ba18661dcf6c060a135060 (patch)
treed516780e883b59cec4b9747a6f0054fbf3fc0cf3 /convert/merge2pcitable.pl
parent4362a9bbe0e5ceac9949843fb7134cacb049e9b5 (diff)
downloadldetect-lst-f123d4867bcf2c9bc8ba18661dcf6c060a135060.tar
ldetect-lst-f123d4867bcf2c9bc8ba18661dcf6c060a135060.tar.gz
ldetect-lst-f123d4867bcf2c9bc8ba18661dcf6c060a135060.tar.bz2
ldetect-lst-f123d4867bcf2c9bc8ba18661dcf6c060a135060.tar.xz
ldetect-lst-f123d4867bcf2c9bc8ba18661dcf6c060a135060.zip
remove doubled regexp match
Diffstat (limited to 'convert/merge2pcitable.pl')
-rwxr-xr-xconvert/merge2pcitable.pl1
1 files changed, 0 insertions, 1 deletions
diff --git a/convert/merge2pcitable.pl b/convert/merge2pcitable.pl
index 6cc19147..4fb3dfbc 100755
--- a/convert/merge2pcitable.pl
+++ b/convert/merge2pcitable.pl
@@ -325,7 +325,6 @@ sub merge_entries_with_wildcards {
my ($drivers, $classes) = @_;
foreach (keys %$classes) {
my ($vendor, $id, $subvendor, $subid);
- ($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: