summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2021-05-06 11:06:21 +0200
committerMax Reitz2021-05-14 16:14:10 +0200
commitc61ebf362d0abf288ce266845519d5a550a1d89f (patch)
tree67fa2bd912ae008c5850026d3b86d8eed20937c0 /block
parenttest-write-threshold: drop extra TestStruct structure (diff)
downloadqemu-c61ebf362d0abf288ce266845519d5a550a1d89f.tar.gz
qemu-c61ebf362d0abf288ce266845519d5a550a1d89f.tar.xz
qemu-c61ebf362d0abf288ce266845519d5a550a1d89f.zip
write-threshold: deal with includes
"qemu/typedefs.h" is enough for include/block/write-threshold.h header with forward declaration of BlockDriverState. Also drop extra includes from block/write-threshold.c and tests/unit/test-write-threshold.c Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20210506090621.11848-9-vsementsov@virtuozzo.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block')
-rw-r--r--block/write-threshold.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/block/write-threshold.c b/block/write-threshold.c
index 65a6acd142..35cafbc22d 100644
--- a/block/write-threshold.c
+++ b/block/write-threshold.c
@@ -12,9 +12,7 @@
#include "qemu/osdep.h"
#include "block/block_int.h"
-#include "qemu/coroutine.h"
#include "block/write-threshold.h"
-#include "qemu/notify.h"
#include "qapi/error.h"
#include "qapi/qapi-commands-block-core.h"
#include "qapi/qapi-events-block-core.h"