qemu_process: sev: Drop an unused variable

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
Erik Skultety 2020-10-08 14:04:41 +02:00
parent da20178709
commit 649f720a9a

View File

@ -6394,9 +6394,8 @@ static int
qemuProcessPrepareSEVGuestInput(virDomainObjPtr vm)
{
qemuDomainObjPrivatePtr priv = vm->privateData;
virDomainDefPtr def = vm->def;
virQEMUCapsPtr qemuCaps = priv->qemuCaps;
virDomainSEVDefPtr sev = def->sev;
virDomainSEVDefPtr sev = vm->def->sev;
if (!sev)
return 0;