[PATCH 08/11] virDomainCheckpointDiskDef: Remove unused 'idx' field

Peter Krempa pkrempa at redhat.com
Wed Dec 2 12:14:58 UTC 2020


Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 src/conf/checkpoint_conf.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/conf/checkpoint_conf.h b/src/conf/checkpoint_conf.h
index 631f863151..5997e07ff9 100644
--- a/src/conf/checkpoint_conf.h
+++ b/src/conf/checkpoint_conf.h
@@ -42,7 +42,6 @@ typedef struct _virDomainCheckpointDiskDef virDomainCheckpointDiskDef;
 typedef virDomainCheckpointDiskDef *virDomainCheckpointDiskDefPtr;
 struct _virDomainCheckpointDiskDef {
     char *name;     /* name matching the <target dev='...' of the domain */
-    int idx;        /* index within checkpoint->dom->disks that matches name */
     int type;       /* virDomainCheckpointType */
     char *bitmap;   /* bitmap name, if type is bitmap */
     unsigned long long size; /* current checkpoint size in bytes */
-- 
2.28.0




More information about the libvir-list mailing list