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 | d89b93db4f609ff4a4728465fe9066b1027bf077 (patch) | |
tree | 56059827a90fbbefac6388842404a43454b44d83 /if.h | |
parent | dfae34b4a7c99e25a3deb4c9ca51ea41ffa974c9 (diff) | |
download | slirp-d89b93db4f609ff4a4728465fe9066b1027bf077.zip slirp-d89b93db4f609ff4a4728465fe9066b1027bf077.tar.gz slirp-d89b93db4f609ff4a4728465fe9066b1027bf077.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 'if.h')
-rw-r--r-- | if.h | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -17,20 +17,8 @@ #define IF_MRU 1500 #define IF_COMP IF_AUTOCOMP /* Flags for compression */ -#if 0 -/* - * Set if_maxlinkhdr to 48 because it's 40 bytes for TCP/IP, - * and 8 bytes for PPP, but need to have it on an 8byte boundary - */ -#ifdef USE_PPP -#define IF_MAXLINKHDR 48 -#else -#define IF_MAXLINKHDR 40 -#endif -#else /* 2 for alignment, 14 for ethernet, 40 for TCP/IP */ #define IF_MAXLINKHDR (2 + 14 + 40) -#endif extern int if_queued; /* Number of packets queued so far */ |