summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--hw/vhost.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/vhost.c b/hw/vhost.c
index c3d88214fe..19e72555c4 100644
--- a/hw/vhost.c
+++ b/hw/vhost.c
@@ -120,7 +120,6 @@ static void vhost_dev_unassign_memory(struct vhost_dev *dev,
         if (start_addr <= reg->guest_phys_addr && memlast >= reglast) {
             --dev->mem->nregions;
             --to;
-            assert(to >= 0);
             ++overlap_middle;
             continue;
         }