mirror of https://gitee.com/openkylin/libvirt.git
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 $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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue