mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
virstoragefile: remove unused virStorageFileChainCheckBroken
The last usage outside of tests was removed by commit <780f8c94ca8b3dee7eb59c1bfbc32f672f965df8>. Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
@@ -270,7 +270,6 @@ testStorageChain(const void *args)
|
||||
virStorageSourcePtr elt;
|
||||
size_t i = 0;
|
||||
g_autoptr(virStorageSource) meta = NULL;
|
||||
g_autofree char *broken = NULL;
|
||||
|
||||
meta = testStorageFileGetMetadata(data->start, data->format, -1, -1);
|
||||
if (!meta) {
|
||||
@@ -289,11 +288,6 @@ testStorageChain(const void *args)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (virStorageFileChainGetBroken(meta, &broken) || broken) {
|
||||
fprintf(stderr, "chain should not be identified as broken\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
elt = meta;
|
||||
while (virStorageSourceIsBacking(elt)) {
|
||||
g_autofree char *expect = NULL;
|
||||
|
||||
Reference in New Issue
Block a user