summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dev/arm/flash_device.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dev/arm/flash_device.cc b/src/dev/arm/flash_device.cc
index 60c910626..112a94186 100644
--- a/src/dev/arm/flash_device.cc
+++ b/src/dev/arm/flash_device.cc
@@ -383,7 +383,6 @@ FlashDevice::remap(uint64_t logic_page_addr)
assert(block + count < pagesPerDisk);
locationTable[block + count].page = (block + count) %
pagesPerBlock;
- ++count;
}
blockEmptyEntries[locationTable[logic_page_addr].block] =