diff options
Diffstat (limited to 'block/rbd.c')
-rw-r--r-- | block/rbd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/block/rbd.c b/block/rbd.c index 9088c52d24..312584a1bb 100644 --- a/block/rbd.c +++ b/block/rbd.c @@ -632,9 +632,6 @@ static BlockDriverAIOCB *rbd_aio_rw_vector(BlockDriverState *bs, BDRVRBDState *s = bs->opaque; acb = qemu_aio_get(&rbd_aio_pool, bs, cb, opaque); - if (!acb) { - return NULL; - } acb->write = write; acb->qiov = qiov; acb->bounce = qemu_blockalign(bs, qiov->size); |