summaryrefslogtreecommitdiff
path: root/hw/pflash_cfi02.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-08-06 21:13:56 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-08-06 21:13:56 +0000
commit51d6bae7a8d7a359d79004c586be352cd924d75f (patch)
treeca88e406166e244fcd81e5b1d6e6ccf230ad61be /hw/pflash_cfi02.c
parent13a2e80f04a24b5466ff22328f5374a461181c0a (diff)
downloadqemu-51d6bae7a8d7a359d79004c586be352cd924d75f.tar.gz
qemu-51d6bae7a8d7a359d79004c586be352cd924d75f.tar.bz2
qemu-51d6bae7a8d7a359d79004c586be352cd924d75f.zip
removed duplicated line
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2097 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pflash_cfi02.c')
-rw-r--r--hw/pflash_cfi02.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/pflash_cfi02.c b/hw/pflash_cfi02.c
index ee2f63a1a0..0db8b56454 100644
--- a/hw/pflash_cfi02.c
+++ b/hw/pflash_cfi02.c
@@ -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