summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2019-01-16 00:26:50 +0100
committerJohn Snow2019-01-16 00:26:50 +0100
commit19c021e1948a81c4ba19b3ff735432b45b6aebee (patch)
treeae8e1fb0b4d5d053de932f48d9958261913b1a81 /include
parentRevert "test-hbitmap: Add non-advancing iter_next tests" (diff)
downloadqemu-19c021e1948a81c4ba19b3ff735432b45b6aebee.tar.gz
qemu-19c021e1948a81c4ba19b3ff735432b45b6aebee.tar.xz
qemu-19c021e1948a81c4ba19b3ff735432b45b6aebee.zip
Revert "hbitmap: Add @advance param to hbitmap_iter_next()"
This reverts commit a33fbb4f8b64226becf502a123733776ce319b24. The functionality is unused. Note: in addition to automatic revert, drop second parameter in hbitmap_iter_next() call from hbitmap_next_dirty_area() too. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/qemu/hbitmap.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/qemu/hbitmap.h b/include/qemu/hbitmap.h
index 097dce31ee..4afbe6292e 100644
--- a/include/qemu/hbitmap.h
+++ b/include/qemu/hbitmap.h
@@ -351,14 +351,11 @@ void hbitmap_free_meta(HBitmap *hb);
/**
* hbitmap_iter_next:
* @hbi: HBitmapIter to operate on.
- * @advance: If true, advance the iterator. Otherwise, the next call
- * of this function will return the same result (if that
- * position is still dirty).
*
* Return the next bit that is set in @hbi's associated HBitmap,
* or -1 if all remaining bits are zero.
*/
-int64_t hbitmap_iter_next(HBitmapIter *hbi, bool advance);
+int64_t hbitmap_iter_next(HBitmapIter *hbi);
/**
* hbitmap_iter_next_word: