No need anymoe for bdrv_set_read_only

Signed-off-by: Naphtali Sprei <nsprei@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Naphtali Sprei 2010-01-21 14:40:37 +02:00 committed by Anthony Liguori
parent 95d5f08bad
commit 37226ad946
2 changed files with 0 additions and 8 deletions

View File

@ -1011,13 +1011,6 @@ int bdrv_is_read_only(BlockDriverState *bs)
return bs->read_only;
}
int bdrv_set_read_only(BlockDriverState *bs, int read_only)
{
int ret = bs->read_only;
bs->read_only = read_only;
return ret;
}
int bdrv_is_sg(BlockDriverState *bs)
{
return bs->sg;

View File

@ -147,7 +147,6 @@ int bdrv_get_type_hint(BlockDriverState *bs);
int bdrv_get_translation_hint(BlockDriverState *bs);
int bdrv_is_removable(BlockDriverState *bs);
int bdrv_is_read_only(BlockDriverState *bs);
int bdrv_set_read_only(BlockDriverState *bs, int read_only);
int bdrv_is_sg(BlockDriverState *bs);
int bdrv_enable_write_cache(BlockDriverState *bs);
int bdrv_is_inserted(BlockDriverState *bs);