diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libvfio-user.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libvfio-user.c b/lib/libvfio-user.c index 0a61f13..f1c99ec 100644 --- a/lib/libvfio-user.c +++ b/lib/libvfio-user.c @@ -1983,8 +1983,6 @@ vfu_map_sg(vfu_ctx_t *vfu_ctx, dma_sg_t *sg, struct iovec *iov, int cnt, return ERROR_INT(EINVAL); } - assert(vfu_ctx->pending.state != VFU_CTX_PENDING_MSG); - ret = dma_map_sg(vfu_ctx->dma, sg, iov, cnt); if (ret < 0) { return -1; |