aboutsummaryrefslogtreecommitdiff
path: root/if.h
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.h
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.h')
-rw-r--r--if.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/if.h b/if.h
index 29b0977..6ee566d 100644
--- a/if.h
+++ b/if.h
@@ -20,6 +20,4 @@
/* 2 for alignment, 14 for ethernet, 40 for TCP/IP */
#define IF_MAXLINKHDR (2 + 14 + 40)
-#define ifs_init(ifm) ((ifm)->ifs_next = (ifm)->ifs_prev = (ifm))
-
#endif