[PATCH 37/37] qemu: slirp: Remove unused 'qemuSlirpGetFD'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/qemu/qemu_slirp.c | 9 ---------
 src/qemu/qemu_slirp.h | 2 --
 2 files changed, 11 deletions(-)

diff --git a/src/qemu/qemu_slirp.c b/src/qemu/qemu_slirp.c
index b62934f292..618947b6c1 100644
--- a/src/qemu/qemu_slirp.c
+++ b/src/qemu/qemu_slirp.c
@@ -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)
 {
diff --git a/src/qemu/qemu_slirp.h b/src/qemu/qemu_slirp.h
index 5a6a24b178..03f032555d 100644
--- a/src/qemu/qemu_slirp.h
+++ b/src/qemu/qemu_slirp.h
@@ -66,8 +66,6 @@ void qemuSlirpStop(qemuSlirp *slirp,
                    virQEMUDriver *driver,
                    virDomainNetDef *net);

-int qemuSlirpGetFD(qemuSlirp *slirp);
-
 int qemuSlirpSetupCgroup(qemuSlirp *slirp,
                          virCgroup *cgroup);

-- 
2.35.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux