kernel/vm: Drop VMCacheRef::ref_count.

Nothing touches it at all.
This commit is contained in:
Augustin Cavalier 2025-01-02 21:32:44 -05:00
parent 0bd8ba1b9e
commit d4a1fc648b
2 changed files with 1 additions and 3 deletions

View File

@ -107,7 +107,6 @@ typedef phys_addr_t page_num_t;
struct VMCacheRef {
VMCache* cache;
int32 ref_count;
VMCacheRef(VMCache* cache);
};

View File

@ -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)
{
}