diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-02-17 14:39:30 +0100 |
---|---|---|
committer | Jan Kiszka <jan.kiszka@siemens.com> | 2012-02-27 14:54:49 +0100 |
commit | 8b5bd96b65fc56bbb60dc6de6184abaab23e0349 (patch) | |
tree | 7697301ed4d784d4c1507f7db7be385d9cf13129 /if.c | |
parent | 9f295bd344fa5e9e54273df3254de2a2a4a51681 (diff) | |
download | slirp-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.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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; |