diff options
author | Vladimir Sementsov-Ogievskiy | 2021-05-06 11:06:15 +0200 |
---|---|---|
committer | Max Reitz | 2021-05-14 16:14:10 +0200 |
commit | ad578c56d596a3250a62ae8687005ca6909d2688 (patch) | |
tree | 309620f4ad2d5f7ebe80bf330c31cc61692aa5f7 /block | |
parent | block/write-threshold: don't use write notifiers (diff) | |
download | qemu-ad578c56d596a3250a62ae8687005ca6909d2688.tar.gz qemu-ad578c56d596a3250a62ae8687005ca6909d2688.tar.xz qemu-ad578c56d596a3250a62ae8687005ca6909d2688.zip |
block: drop write notifiers
They are unused now.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20210506090621.11848-3-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/io.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/block/io.c b/block/io.c index 3520de51bb..1e826ba9e8 100644 --- a/block/io.c +++ b/block/io.c @@ -3165,12 +3165,6 @@ bool bdrv_qiov_is_aligned(BlockDriverState *bs, QEMUIOVector *qiov) return true; } -void bdrv_add_before_write_notifier(BlockDriverState *bs, - NotifierWithReturn *notifier) -{ - notifier_with_return_list_add(&bs->before_write_notifiers, notifier); -} - void bdrv_io_plug(BlockDriverState *bs) { BdrvChild *child; |