diff --git a/headers/private/kernel/vm/vm_types.h b/headers/private/kernel/vm/vm_types.h index 2254eb8bbf..6dbba3efcb 100644 --- a/headers/private/kernel/vm/vm_types.h +++ b/headers/private/kernel/vm/vm_types.h @@ -107,7 +107,6 @@ typedef phys_addr_t page_num_t; struct VMCacheRef { VMCache* cache; - int32 ref_count; VMCacheRef(VMCache* cache); }; diff --git a/src/system/kernel/vm/VMCache.cpp b/src/system/kernel/vm/VMCache.cpp index 5c1cedc026..436b4a998f 100644 --- a/src/system/kernel/vm/VMCache.cpp +++ b/src/system/kernel/vm/VMCache.cpp @@ -599,8 +599,7 @@ vm_cache_acquire_locked_page_cache(vm_page* page, bool dontWait) VMCacheRef::VMCacheRef(VMCache* cache) : - cache(cache), - ref_count(1) + cache(cache) { }