mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 15:27:47 +00:00
Remove dead code after refactoring qemudDomainStart
The event is already generated and sent by qemudDomainObjStart, no need to do anything about here.
This commit is contained in:
parent
d5fda6d6bc
commit
bfa6b73e43
@ -6669,7 +6669,6 @@ static int qemudDomainStart(virDomainPtr dom) {
|
||||
struct qemud_driver *driver = dom->conn->privateData;
|
||||
virDomainObjPtr vm;
|
||||
int ret = -1;
|
||||
virDomainEventPtr event = NULL;
|
||||
|
||||
qemuDriverLock(driver);
|
||||
vm = virDomainFindByUUID(&driver->domains, dom->uuid);
|
||||
@ -6700,8 +6699,6 @@ endjob:
|
||||
cleanup:
|
||||
if (vm)
|
||||
virDomainObjUnlock(vm);
|
||||
if (event)
|
||||
qemuDomainEventQueue(driver, event);
|
||||
qemuDriverUnlock(driver);
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user