diff options
Diffstat (limited to 'block')
-rw-r--r-- | block/block-backend.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/block/block-backend.c b/block/block-backend.c index f5d9407..a8d160f 100644 --- a/block/block-backend.c +++ b/block/block-backend.c @@ -1073,11 +1073,7 @@ void blk_iostatus_disable(BlockBackend *blk) void blk_iostatus_reset(BlockBackend *blk) { if (blk_iostatus_is_enabled(blk)) { - BlockDriverState *bs = blk_bs(blk); blk->iostatus = BLOCK_DEVICE_IO_STATUS_OK; - if (bs && bs->job) { - block_job_iostatus_reset(bs->job); - } } } |