]> Git Repo - qemu.git/commitdiff
pflash_cfi01: remove redundant line
authorEric Bénard <[email protected]>
Thu, 12 Apr 2012 07:51:46 +0000 (09:51 +0200)
committerStefan Hajnoczi <[email protected]>
Fri, 20 Apr 2012 12:14:53 +0000 (13:14 +0100)
Signed-off-by: Eric Bénard <[email protected]>
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
hw/pflash_cfi01.c

index b03f623cb12658a54d4dd53ef5cf86b94073c684..d1c742379ba576336e8fea23f60540ed7bc3e1e3 100644 (file)
@@ -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;
             }
This page took 0.021624 seconds and 4 git commands to generate.