]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
maint: Drop dead code in check-driverimpls.pl
authorEric Blake <eblake@redhat.com>
Tue, 9 Jul 2019 14:02:35 +0000 (09:02 -0500)
committerEric Blake <eblake@redhat.com>
Wed, 10 Jul 2019 16:46:22 +0000 (11:46 -0500)
We no longer need to special-case xenUnified, since 1dac5fbbbb0
dropped support for that naming scheme.

Signed-off-by: Eric Blake <eblake@redhat.com>
Acked-by: Peter Krempa <pkrempa@redhat.com>
src/check-driverimpls.pl

index b175e710f1d4a8499ab464d703c367be7c1a9a99..3c0d54724cef0e8808a905663208def08dfcd276 100755 (executable)
@@ -41,7 +41,7 @@ while (<>) {
 
             my $suffix = $impl;
             my $prefix = $impl;
-            $prefix =~ s/^([a-z]+(?:Unified)?)(.*?)$/$1/;
+            $prefix =~ s/^([a-z]+)(.*?)$/$1/;
 
             if (defined $mainprefix) {
                 if ($mainprefix ne $prefix) {
@@ -53,7 +53,7 @@ while (<>) {
             }
 
             if ($api !~ /^$mainprefix/) {
-                $suffix =~ s/^[a-z]+(?:Unified)?//;
+                $suffix =~ s/^[a-z]+//;
                 $suffix =~ s/^([A-Z]+)/lc $1/e;
             }