qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 1/2] pflash_cfi01: remove redundant line


From: Eric Bénard
Subject: [Qemu-devel] [PATCH 1/2] pflash_cfi01: remove redundant line
Date: Thu, 12 Apr 2012 09:51:46 +0200

Signed-off-by: Eric Bénard <address@hidden>
---
 hw/pflash_cfi01.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/hw/pflash_cfi01.c b/hw/pflash_cfi01.c
index b03f623..d1c7423 100644
--- a/hw/pflash_cfi01.c
+++ b/hw/pflash_cfi01.c
@@ -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;
             }
-- 
1.7.7.6




reply via email to

[Prev in Thread] Current Thread [Next in Thread]