diff options
author | Markus Armbruster <armbru@redhat.com> | 2011-09-06 18:58:52 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-09-12 15:17:21 +0200 |
commit | 9e6a4c9177bc95aa04438458d75442e80db9ad33 (patch) | |
tree | eee4af4845c084f5a78fe0cea533565b9c85198f /block.c | |
parent | 2c6942fa7b332a95286071b92d233853e1000948 (diff) |
block: Drop BlockDriverState member removable
It's a confused mess (see previous commit). No users remain.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block.c')
-rw-r--r-- | block.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -1614,14 +1614,6 @@ BlockErrorAction bdrv_get_on_error(BlockDriverState *bs, int is_read) return is_read ? bs->on_read_error : bs->on_write_error; } -void bdrv_set_removable(BlockDriverState *bs, int removable) -{ - bs->removable = removable; - if (removable && bs == bs_snapshots) { - bs_snapshots = NULL; - } -} - int bdrv_is_read_only(BlockDriverState *bs) { return bs->read_only; |