diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2009-06-24 14:42:29 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-29 08:52:46 -0500 |
commit | 0d62c4cfe21752df4c1d6e2c2398f15d5eaa794a (patch) | |
tree | 17797b80174a0d19f756ca3255b709d3b191cf7a /slirp/mbuf.h | |
parent | 6dbe553fe9ffdee008c1bbbe1af2d030e0f04aab (diff) | |
download | qemu-0d62c4cfe21752df4c1d6e2c2398f15d5eaa794a.zip qemu-0d62c4cfe21752df4c1d6e2c2398f15d5eaa794a.tar.gz qemu-0d62c4cfe21752df4c1d6e2c2398f15d5eaa794a.tar.bz2 |
slirp: Drop dead code
After all its years inside the qemu tree, there is no point in keeping
the dead code paths of slirp. This patch is a first round of removing
usually commented out code parts. More cleanups need to follow (and
maybe finally a proper reindention).
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.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/slirp/mbuf.h b/slirp/mbuf.h index 5527373..e259441 100644 --- a/slirp/mbuf.h +++ b/slirp/mbuf.h @@ -41,10 +41,8 @@ /* * Macros for type conversion * mtod(m,t) - convert mbuf pointer to data pointer of correct type - * dtom(x) - convert data pointer within mbuf to mbuf pointer (XXX) */ #define mtod(m,t) ((t)(m)->m_data) -/* #define dtom(x) ((struct mbuf *)((int)(x) & ~(M_SIZE-1))) */ /* XXX About mbufs for slirp: * Only one mbuf is ever used in a chain, for each "cell" of data. |