mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
maint: Drop dead code in check-driverimpls.pl
We no longer need to special-case xenUnified, since 1dac5fbbbb
dropped support for that naming scheme.
Signed-off-by: Eric Blake <eblake@redhat.com>
Acked-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
3ee8ea9560
commit
4cc5679e91
@ -41,7 +41,7 @@ while (<>) {
|
|||||||
|
|
||||||
my $suffix = $impl;
|
my $suffix = $impl;
|
||||||
my $prefix = $impl;
|
my $prefix = $impl;
|
||||||
$prefix =~ s/^([a-z]+(?:Unified)?)(.*?)$/$1/;
|
$prefix =~ s/^([a-z]+)(.*?)$/$1/;
|
||||||
|
|
||||||
if (defined $mainprefix) {
|
if (defined $mainprefix) {
|
||||||
if ($mainprefix ne $prefix) {
|
if ($mainprefix ne $prefix) {
|
||||||
@ -53,7 +53,7 @@ while (<>) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($api !~ /^$mainprefix/) {
|
if ($api !~ /^$mainprefix/) {
|
||||||
$suffix =~ s/^[a-z]+(?:Unified)?//;
|
$suffix =~ s/^[a-z]+//;
|
||||||
$suffix =~ s/^([A-Z]+)/lc $1/e;
|
$suffix =~ s/^([A-Z]+)/lc $1/e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user