mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
qemu: qemuProcessInit: Drop unused config variable
The QEMU @cfg config variable is unused in context of qemuProcessInit, let's drop it. Signed-off-by: Bjoern Walk <bwalk@linux.ibm.com> Reviewed-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
49825dcf31
commit
808e27a109
@ -5267,7 +5267,6 @@ qemuProcessInit(virQEMUDriverPtr driver,
|
||||
bool migration,
|
||||
unsigned int flags)
|
||||
{
|
||||
virQEMUDriverConfigPtr cfg = virQEMUDriverGetConfig(driver);
|
||||
virCapsPtr caps = NULL;
|
||||
qemuDomainObjPrivatePtr priv = vm->privateData;
|
||||
int stopFlags;
|
||||
@ -5347,7 +5346,6 @@ qemuProcessInit(virQEMUDriverPtr driver,
|
||||
|
||||
cleanup:
|
||||
virCPUDefFree(origCPU);
|
||||
virObjectUnref(cfg);
|
||||
virObjectUnref(caps);
|
||||
return ret;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user