aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2009-10-22 17:43:32 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:59 -0500
commit1abb817258e3014e89555a85a92d3966f5ae7445 (patch)
tree0428e0293824870b2a26d64b1463ec1e0a4469b2
parent72ecf02d7d1c765c78932649bb206ab8a9972a2b (diff)
net: remove unused includes of if_tun.h and if_tap.h
Looks like these are just artifacts of vl.c being split up. Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--qemu-char.c6
-rw-r--r--savevm.c6
-rw-r--r--vl.c6
3 files changed, 0 insertions, 18 deletions
diff --git a/qemu-char.c b/qemu-char.c
index 23d2a07109..6f05f8a747 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -51,12 +51,6 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <net/if.h>
-#ifdef __NetBSD__
-#include <net/if_tap.h>
-#endif
-#ifdef __linux__
-#include <linux/if_tun.h>
-#endif
#include <arpa/inet.h>
#include <dirent.h>
#include <netdb.h>
diff --git a/savevm.c b/savevm.c
index 70e8a7d367..95b77f3683 100644
--- a/savevm.c
+++ b/savevm.c
@@ -42,12 +42,6 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <net/if.h>
-#if defined(__NetBSD__)
-#include <net/if_tap.h>
-#endif
-#ifdef __linux__
-#include <linux/if_tun.h>
-#endif
#include <arpa/inet.h>
#include <dirent.h>
#include <netdb.h>
diff --git a/vl.c b/vl.c
index 18a2405505..ac9ff5251d 100644
--- a/vl.c
+++ b/vl.c
@@ -44,12 +44,6 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <net/if.h>
-#if defined(__NetBSD__)
-#include <net/if_tap.h>
-#endif
-#ifdef __linux__
-#include <linux/if_tun.h>
-#endif
#include <arpa/inet.h>
#include <dirent.h>
#include <netdb.h>