summaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
authorAlberto Garcia <berto@igalia.com>2016-09-15 17:52:59 +0300
committerKevin Wolf <kwolf@redhat.com>2016-09-23 13:36:10 +0200
commit38b5e4c3dc6d713eae340341ee139c12d5c1a21e (patch)
tree129be5eaa9f5f84a2be5d9fd37445aec981fab2c /block.c
parentc2519009b428fb19a9fdbc707e786b1cebd4994f (diff)
downloadqemu-38b5e4c3dc6d713eae340341ee139c12d5c1a21e.tar.gz
block: Remove bdrv_is_snapshot
This is unnecessary and has been unused since 5433c24f0f9306c82ad9bcc. Signed-off-by: Alberto Garcia <berto@igalia.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block.c')
-rw-r--r--block.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/block.c b/block.c
index afaff93423..d448520951 100644
--- a/block.c
+++ b/block.c
@@ -3013,11 +3013,6 @@ bool bdrv_debug_is_suspended(BlockDriverState *bs, const char *tag)
return false;
}
-int bdrv_is_snapshot(BlockDriverState *bs)
-{
- return !!(bs->open_flags & BDRV_O_SNAPSHOT);
-}
-
/* backing_file can either be relative, or absolute, or a protocol. If it is
* relative, it must be relative to the chain. So, passing in bs->filename
* from a BDS as backing_file should not be done, as that may be relative to