]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virDomainCheckpointDiskDef: Remove unused 'idx' field
authorPeter Krempa <pkrempa@redhat.com>
Wed, 2 Dec 2020 12:08:31 +0000 (13:08 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 3 Dec 2020 11:25:01 +0000 (12:25 +0100)
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/checkpoint_conf.h

index 631f863151416605555aedf19eaf9b99c384db7e..5997e07ff9aa91ea60095a47fded1e102c399d37 100644 (file)
@@ -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 */