aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2016-01-29 16:36:07 +0100
committerMax Reitz <mreitz@redhat.com>2016-02-02 17:50:46 +0100
commit033cb5659a1dce15643d2d5123615c26e24298ce (patch)
tree84714a8dd5811eb508a49a40a9b9eb376d715e86 /block
parent741cc431337891e0c1d69fcba6574aa8df3e4822 (diff)
block: Remove BDS close notifier
It is unused now, so we can remove it. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
-rw-r--r--block/block-backend.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/block/block-backend.c b/block/block-backend.c
index 1872191478..621787cdb0 100644
--- a/block/block-backend.c
+++ b/block/block-backend.c
@@ -1146,13 +1146,6 @@ void blk_add_insert_bs_notifier(BlockBackend *blk, Notifier *notify)
notifier_list_add(&blk->insert_bs_notifiers, notify);
}
-void blk_add_close_notifier(BlockBackend *blk, Notifier *notify)
-{
- if (blk->bs) {
- bdrv_add_close_notifier(blk->bs, notify);
- }
-}
-
void blk_io_plug(BlockBackend *blk)
{
if (blk->bs) {