diff --git a/src/pq_flash_index.cpp b/src/pq_flash_index.cpp index fbb81d55f..151e5877a 100644 --- a/src/pq_flash_index.cpp +++ b/src/pq_flash_index.cpp @@ -365,10 +365,6 @@ void PQFlashIndex::cache_bfs_levels(uint64_t num_nodes_to_cache, std: } diskann::cout << "Caching " << num_nodes_to_cache << "..." << std::endl; - // borrow thread data - ScratchStoreManager> manager(this->_thread_data); - auto this_thread_data = manager.scratch_space(); - IOContext &ctx = this_thread_data->ctx; std::unique_ptr> cur_level, prev_level; cur_level = std::make_unique>();