pflash_cfi01: remove redundant line
authorEric Bénard <eric@eukrea.com>
Thu, 12 Apr 2012 07:51:46 +0000 (09:51 +0200)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 20 Apr 2012 12:14:53 +0000 (13:14 +0100)
Signed-off-by: Eric Bénard <eric@eukrea.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
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;
             }