diff options
author | Thomas Huth | 2017-10-03 11:57:24 +0200 |
---|---|---|
committer | Kevin Wolf | 2017-10-06 16:28:58 +0200 |
commit | dbfa934106d22402d809d039e773b50ab1885477 (patch) | |
tree | 924ab49c9362633250f6b2392ee7e972d1c68818 /tests/qemu-iotests/common.rc | |
parent | dirty-bitmap: Convert internal hbitmap size/granularity (diff) | |
download | qemu-dbfa934106d22402d809d039e773b50ab1885477.tar.gz qemu-dbfa934106d22402d809d039e773b50ab1885477.tar.xz qemu-dbfa934106d22402d809d039e773b50ab1885477.zip |
hw/block/onenand: Remove dead code block
The condition of the for-loop makes sure that b is always smaller
than s->blocks, so the "if (b >= s->blocks)" statement is completely
superfluous here.
Buglink: https://bugs.launchpad.net/qemu/+bug/1715007
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/common.rc')
0 files changed, 0 insertions, 0 deletions