From patchwork Fri Apr 20 12:52:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [4/7] pflash_cfi01: remove redundant line Date: Fri, 20 Apr 2012 02:52:33 -0000 From: Stefan Hajnoczi X-Patchwork-Id: 154033 Message-Id: <1334926356-7807-5-git-send-email-stefanha@linux.vnet.ibm.com> To: Anthony Liguori Cc: qemu-devel@nongnu.org, =?UTF-8?q?Eric=20B=C3=A9nard?= , Stefan Hajnoczi From: Eric Bénard Signed-off-by: Eric Bénard Reviewed-by: Peter Maydell Signed-off-by: Stefan Hajnoczi --- hw/pflash_cfi01.c | 1 - 1 file changed, 1 deletion(-) 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; }