After previous cleanups this callback is unused. Remove it.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
typedef struct _qemuAgentCallbacks qemuAgentCallbacks;
struct _qemuAgentCallbacks {
- void (*destroy)(qemuAgent *mon,
- virDomainObj *vm);
void (*eofNotify)(qemuAgent *mon,
virDomainObj *vm);
void (*errorNotify)(qemuAgent *mon,
virObjectUnlock(vm);
}
-static void qemuProcessHandleAgentDestroy(qemuAgent *agent,
- virDomainObj *vm)
-{
- VIR_DEBUG("Received destroy agent=%p vm=%p", agent, vm);
-
- virObjectUnref(vm);
-}
-
static qemuAgentCallbacks agentCallbacks = {
- .destroy = qemuProcessHandleAgentDestroy,
.eofNotify = qemuProcessHandleAgentEOF,
.errorNotify = qemuProcessHandleAgentError,
};