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:
Andreas Hansson 2016-05-26 11:56:24 +01:00
parent a69a0f33cb
commit 4a3e2156ac

View file

@ -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] =