arm, dev: Remove superfluous loop increment in flash device
As identified by clang-3.8, there was a superfluous loop increment in the flash device which is now removed. Change-Id: If46a1c4f72d3d4c9f219124030894ca433c790af Reviewed-by: Rene De Jong <rene.dejong@arm.com>
This commit is contained in:
@@ -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] =
|
||||
|
||||
Reference in New Issue
Block a user