aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kurz <gkurz@linux.vnet.ibm.com>2016-06-06 11:52:34 +0200
committerGreg Kurz <gkurz@linux.vnet.ibm.com>2016-06-06 11:52:34 +0200
commitaae91ad9ae0677395366ff1f7a3e8763fd8470f2 (patch)
tree385d06ff92e09d1dbc056627eeb3c70f5e20225d
parentde5dca1b792ada25c29a95c8f84e01f4300aef9c (diff)
downloadqemu-aae91ad9ae0677395366ff1f7a3e8763fd8470f2.zip
qemu-aae91ad9ae0677395366ff1f7a3e8763fd8470f2.tar.gz
qemu-aae91ad9ae0677395366ff1f7a3e8763fd8470f2.tar.bz2
9p: some more cleanup in #include directives
The "9p-attr.h" header isn't needed by 9p synth and virtio 9p. While here, also drop last references to virtio from 9p synth since it is now transport agnostic code. Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
-rw-r--r--hw/9pfs/9p-synth.c4
-rw-r--r--hw/9pfs/virtio-9p-device.c1
2 files changed, 1 insertions, 4 deletions
diff --git a/hw/9pfs/9p-synth.c b/hw/9pfs/9p-synth.c
index f1475df..8e50413 100644
--- a/hw/9pfs/9p-synth.c
+++ b/hw/9pfs/9p-synth.c
@@ -1,5 +1,5 @@
/*
- * Virtio 9p synthetic file system support
+ * 9p synthetic file system support
*
* Copyright IBM, Corp. 2011
*
@@ -13,9 +13,7 @@
*/
#include "qemu/osdep.h"
-#include "hw/virtio/virtio.h"
#include "9p.h"
-#include "9p-xattr.h"
#include "fsdev/qemu-fsdev.h"
#include "9p-synth.h"
#include "qemu/rcu.h"
diff --git a/hw/9pfs/virtio-9p-device.c b/hw/9pfs/virtio-9p-device.c
index a38850e..74a3ccb 100644
--- a/hw/9pfs/virtio-9p-device.c
+++ b/hw/9pfs/virtio-9p-device.c
@@ -17,7 +17,6 @@
#include "qemu/sockets.h"
#include "virtio-9p.h"
#include "fsdev/qemu-fsdev.h"
-#include "9p-xattr.h"
#include "coth.h"
#include "hw/virtio/virtio-access.h"
#include "qemu/iov.h"