diff options
Diffstat (limited to 'linux-aio.c')
-rw-r--r-- | linux-aio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/linux-aio.c b/linux-aio.c index 1c635ef12d..d2fc2e7d02 100644 --- a/linux-aio.c +++ b/linux-aio.c @@ -166,8 +166,6 @@ BlockDriverAIOCB *laio_submit(BlockDriverState *bs, void *aio_ctx, int fd, off_t offset = sector_num * 512; laiocb = qemu_aio_get(&laio_pool, bs, cb, opaque); - if (!laiocb) - return NULL; laiocb->nbytes = nb_sectors * 512; laiocb->ctx = s; laiocb->ret = -EINPROGRESS; |