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:
Pavel Hrdina
2020-12-07 12:02:14 +01:00
parent fb04bf28a1
commit ba9b419910
4 changed files with 0 additions and 43 deletions

View File

@@ -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;