mirror of
https://review.haiku-os.org/haiku
synced 2025-01-18 12:38:51 +01:00
kernel/vm: Drop VMCacheRef::ref_count.
Nothing touches it at all.
This commit is contained in:
parent
0bd8ba1b9e
commit
d4a1fc648b
@ -107,7 +107,6 @@ typedef phys_addr_t page_num_t;
|
||||
|
||||
struct VMCacheRef {
|
||||
VMCache* cache;
|
||||
int32 ref_count;
|
||||
|
||||
VMCacheRef(VMCache* cache);
|
||||
};
|
||||
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user