diff --git a/src/blockstore_impl.h b/src/blockstore_impl.h index 05b212d6..eb5965f9 100644 --- a/src/blockstore_impl.h +++ b/src/blockstore_impl.h @@ -220,7 +220,6 @@ struct blockstore_op_private_t // Sync std::vector sync_big_writes, sync_small_writes; - int sync_small_checked, sync_big_checked; }; typedef uint32_t pool_id_t; diff --git a/src/blockstore_sync.cpp b/src/blockstore_sync.cpp index 4fda01f5..918eb90c 100644 --- a/src/blockstore_sync.cpp +++ b/src/blockstore_sync.cpp @@ -27,8 +27,6 @@ int blockstore_impl_t::continue_sync(blockstore_op_t *op) unsynced_big_write_count -= unsynced_big_writes.size(); PRIV(op)->sync_big_writes.swap(unsynced_big_writes); PRIV(op)->sync_small_writes.swap(unsynced_small_writes); - PRIV(op)->sync_small_checked = 0; - PRIV(op)->sync_big_checked = 0; unsynced_big_writes.clear(); unsynced_small_writes.clear(); if (PRIV(op)->sync_big_writes.size() > 0)