mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
kernel/memory: Remove unused variables in memory_block_manager
Prevents unused variable warnings.
This commit is contained in:
parent
26aee55aef
commit
a2e61e6542
1 changed files with 0 additions and 3 deletions
|
@ -67,7 +67,6 @@ void MemoryBlockManager::Update(VAddr addr, std::size_t num_pages, MemoryState p
|
||||||
MemoryPermission prev_perm, MemoryAttribute prev_attribute,
|
MemoryPermission prev_perm, MemoryAttribute prev_attribute,
|
||||||
MemoryState state, MemoryPermission perm,
|
MemoryState state, MemoryPermission perm,
|
||||||
MemoryAttribute attribute) {
|
MemoryAttribute attribute) {
|
||||||
const std::size_t prev_count{memory_block_tree.size()};
|
|
||||||
const VAddr end_addr{addr + num_pages * PageSize};
|
const VAddr end_addr{addr + num_pages * PageSize};
|
||||||
iterator node{memory_block_tree.begin()};
|
iterator node{memory_block_tree.begin()};
|
||||||
|
|
||||||
|
@ -109,7 +108,6 @@ void MemoryBlockManager::Update(VAddr addr, std::size_t num_pages, MemoryState p
|
||||||
|
|
||||||
void MemoryBlockManager::Update(VAddr addr, std::size_t num_pages, MemoryState state,
|
void MemoryBlockManager::Update(VAddr addr, std::size_t num_pages, MemoryState state,
|
||||||
MemoryPermission perm, MemoryAttribute attribute) {
|
MemoryPermission perm, MemoryAttribute attribute) {
|
||||||
const std::size_t prev_count{memory_block_tree.size()};
|
|
||||||
const VAddr end_addr{addr + num_pages * PageSize};
|
const VAddr end_addr{addr + num_pages * PageSize};
|
||||||
iterator node{memory_block_tree.begin()};
|
iterator node{memory_block_tree.begin()};
|
||||||
|
|
||||||
|
@ -145,7 +143,6 @@ void MemoryBlockManager::Update(VAddr addr, std::size_t num_pages, MemoryState s
|
||||||
|
|
||||||
void MemoryBlockManager::UpdateLock(VAddr addr, std::size_t num_pages, LockFunc&& lock_func,
|
void MemoryBlockManager::UpdateLock(VAddr addr, std::size_t num_pages, LockFunc&& lock_func,
|
||||||
MemoryPermission perm) {
|
MemoryPermission perm) {
|
||||||
const std::size_t prev_count{memory_block_tree.size()};
|
|
||||||
const VAddr end_addr{addr + num_pages * PageSize};
|
const VAddr end_addr{addr + num_pages * PageSize};
|
||||||
iterator node{memory_block_tree.begin()};
|
iterator node{memory_block_tree.begin()};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue