aboutsummaryrefslogtreecommitdiff
path: root/if.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-02-17 14:39:30 +0100
committerJan Kiszka <jan.kiszka@siemens.com>2012-02-27 14:54:49 +0100
commit8b5bd96b65fc56bbb60dc6de6184abaab23e0349 (patch)
tree7697301ed4d784d4c1507f7db7be385d9cf13129 /if.c
parent9f295bd344fa5e9e54273df3254de2a2a4a51681 (diff)
downloadslirp-8b5bd96b65fc56bbb60dc6de6184abaab23e0349.zip
slirp-8b5bd96b65fc56bbb60dc6de6184abaab23e0349.tar.gz
slirp-8b5bd96b65fc56bbb60dc6de6184abaab23e0349.tar.bz2
slirp: Clean up ifs_init
Remove duplicate ifs_init macros, reimplement the logic as static inline in mbuf.h. CC: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> CC: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Diffstat (limited to 'if.c')
-rw-r--r--if.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/if.c b/if.c
index 376862d..c72a264 100644
--- a/if.c
+++ b/if.c
@@ -8,8 +8,6 @@
#include <slirp.h>
#include "qemu-timer.h"
-#define ifs_init(ifm) ((ifm)->ifs_next = (ifm)->ifs_prev = (ifm))
-
static void ifs_insque(struct mbuf *ifm, struct mbuf *ifmhead)
{
ifm->ifs_next = ifmhead->ifs_next;