Permalink
Browse files

vioblk: remove a bogus assert

In case of a flush, there are no data blocks

Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
  • Loading branch information...
xl0 committed Aug 4, 2011
1 parent 0524cac commit e4ec21babbd921b067a76e204a8b65794d3175a0
Showing with 0 additions and 2 deletions.
  1. +0 −2 virtio_blk/vioblk.c
View
@@ -275,8 +275,6 @@ vioblk_rw(struct vioblk_softc *sc, bd_xfer_t *xfer, int type,
req->hdr.sector = xfer->x_blkno;
req->xfer = xfer;
- ASSERT(xfer->x_ndmac);
-
virtio_ve_set_indirect(ve_hdr, xfer->x_ndmac + 2, B_TRUE);
/* sending header */

0 comments on commit e4ec21b

Please sign in to comment.