]> xenbits.xensource.com Git - qemu-xen-4.5-testing.git/commitdiff
removed duplicated line
authorbellard <bellard>
Sun, 6 Aug 2006 21:13:56 +0000 (21:13 +0000)
committerbellard <bellard>
Sun, 6 Aug 2006 21:13:56 +0000 (21:13 +0000)
hw/pflash_cfi02.c

index ee2f63a1a0dcd8c41e84ea1f683839c6035175d4..0db8b564543473707a1034c3be5532affa5e9b2a 100644 (file)
@@ -135,7 +135,6 @@ static uint32_t pflash_read (pflash_t *pfl, target_ulong offset, int width)
 #else
             ret = p[offset];
             ret |= p[offset + 1] << 8;
-            ret |= p[offset + 1] << 8;
             ret |= p[offset + 2] << 16;
             ret |= p[offset + 3] << 24;
 #endif