aboutsummaryrefslogtreecommitdiff
path: root/blockjob.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2016-04-18 17:30:17 +0200
committerKevin Wolf <kwolf@redhat.com>2016-05-25 19:04:21 +0200
commitb75536c9fa742f887304769d0608557bb8e3a27f (patch)
tree7a7d7164a6f6afa8f4fd11525ea48ec60976b4a5 /blockjob.c
parent4653456a5f60cbedaa0d4638252967e2248c570b (diff)
blockjob: Remove BlockJob.bs
There is a single remaining user in qemu-img, and another one in a test case, both of which can be trivially converted to using BlockJob.blk instead. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'blockjob.c')
-rw-r--r--blockjob.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/blockjob.c b/blockjob.c
index 2097e1d094..c095cc57cb 100644
--- a/blockjob.c
+++ b/blockjob.c
@@ -83,7 +83,6 @@ void *block_job_create(const BlockJobDriver *driver, BlockDriverState *bs,
job->driver = driver;
job->id = g_strdup(bdrv_get_device_name(bs));
- job->bs = bs;
job->blk = blk;
job->cb = cb;
job->opaque = opaque;