mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 04:55:18 +00:00
qemu: slirp: Remove unused 'qemuSlirpGetFD'
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
485a336f5d
commit
74bb510a7b
@ -188,15 +188,6 @@ qemuSlirpOpen(qemuSlirp *slirp,
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
qemuSlirpGetFD(qemuSlirp *slirp)
|
||||
{
|
||||
int fd = slirp->fd[0];
|
||||
slirp->fd[0] = -1;
|
||||
return fd;
|
||||
}
|
||||
|
||||
|
||||
static char *
|
||||
qemuSlirpGetDBusVMStateId(virDomainNetDef *net)
|
||||
{
|
||||
|
@ -66,8 +66,6 @@ void qemuSlirpStop(qemuSlirp *slirp,
|
||||
virQEMUDriver *driver,
|
||||
virDomainNetDef *net);
|
||||
|
||||
int qemuSlirpGetFD(qemuSlirp *slirp);
|
||||
|
||||
int qemuSlirpSetupCgroup(qemuSlirp *slirp,
|
||||
virCgroup *cgroup);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user