qemu: Drop unused formatting of uuid

The formatted UUID isn't used anywhere else in
qemuDomainCheckDiskStartupPolicy. Drop it.
This commit is contained in:
Peter Krempa 2014-09-11 18:49:02 +02:00
parent 18a6dc93e5
commit 7c7981eb79

View File

@ -2439,12 +2439,9 @@ qemuDomainCheckDiskStartupPolicy(virQEMUDriverPtr driver,
size_t diskIndex,
bool cold_boot)
{
char uuid[VIR_UUID_STRING_BUFLEN];
int startupPolicy = vm->def->disks[diskIndex]->startupPolicy;
int device = vm->def->disks[diskIndex]->device;
virUUIDFormat(vm->def->uuid, uuid);
switch ((virDomainStartupPolicy) startupPolicy) {
case VIR_DOMAIN_STARTUP_POLICY_OPTIONAL:
/* Once started with an optional disk, qemu saves its section