pflash_cfi01: remove redundant line
Quoted 6 lines · Peter Maydell
Quoted 5 lines · Eric Bénard
Signed-off-by Eric Bénard <[email protected]>---
hw/pflash_cfi01.c | 1 -1 files changed, 0 insertions(+), 1 deletions(-)
Quoted 14 lines
hw/pflash_cfi01.c static uint32_t pflash_read (pflash_t *pfl, target_phys_addr_t offset, · line 149
Quoted 12 lines
hw/pflash_cfi01.c +0
-1@@ -144,7 +144,6 @@ static uint32_t pflash_read (pflash_t *pfl, target_phys_addr_t offset, } else { ret = p[offset]; ret |= p[offset + 1] << 8; - ret |= p[offset + 1] << 8; ret |= p[offset + 2] << 16; ret |= p[offset + 3] << 24; }Reviewed-by Peter Maydell <[email protected]>
Oh, and I think this change should go through qemu-trivial [cc'd], since this device isn't ARM-specific and the second patch in this series doesn't depend on it.
thanks
-- PMM