summaryrefslogtreecommitdiff
path: root/slirp/mbuf.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2009-06-24 14:42:29 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-29 08:52:46 -0500
commit0fe6a7f28455cd003b2668e77d5bd1e1cf15309e (patch)
tree450145c474ae8fed5ff03859e3ab2611afbc4dc6 /slirp/mbuf.h
parent0d62c4cfe21752df4c1d6e2c2398f15d5eaa794a (diff)
downloadqemu-0fe6a7f28455cd003b2668e77d5bd1e1cf15309e.tar.gz
qemu-0fe6a7f28455cd003b2668e77d5bd1e1cf15309e.tar.bz2
qemu-0fe6a7f28455cd003b2668e77d5bd1e1cf15309e.zip
slirp: Drop statistic code
As agreed on the mailing list, there is no interest in keeping the usually disabled slirp statistics in the tree. So this patch removes them. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'slirp/mbuf.h')
-rw-r--r--slirp/mbuf.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/slirp/mbuf.h b/slirp/mbuf.h
index e2594411a4..c482753fef 100644
--- a/slirp/mbuf.h
+++ b/slirp/mbuf.h
@@ -114,19 +114,7 @@ struct mbuf {
#define M_DOFREE 0x08 /* when m_free is called on the mbuf, free()
* it rather than putting it on the free list */
-/*
- * Mbuf statistics. XXX
- */
-
-struct mbstat {
- int mbs_alloced; /* Number of mbufs allocated */
-
-};
-
-extern struct mbstat mbstat;
-extern int mbuf_alloced;
extern struct mbuf m_freelist, m_usedlist;
-extern int mbuf_max;
void m_init _P((void));
struct mbuf * m_get _P((void));