[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 2/6] pflash_cfi01: remove unused total_len field
From: |
Peter Crosthwaite |
Subject: |
[Qemu-devel] [PATCH v2 2/6] pflash_cfi01: remove unused total_len field |
Date: |
Mon, 22 Oct 2012 17:19:00 +1000 |
This field is completely unused.
Signed-off-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
---
hw/pflash_cfi01.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/hw/pflash_cfi01.c b/hw/pflash_cfi01.c
index 4f3f5f0..ebc8a57 100644
--- a/hw/pflash_cfi01.c
+++ b/hw/pflash_cfi01.c
@@ -62,7 +62,6 @@ do { \
struct pflash_t {
BlockDriverState *bs;
target_phys_addr_t sector_len;
- target_phys_addr_t total_len;
int width;
int wcycle; /* if 0, the flash is read normally */
int bypass;
@@ -594,7 +593,6 @@ pflash_t *pflash_cfi01_register(target_phys_addr_t base,
pfl->timer = qemu_new_timer_ns(vm_clock, pflash_timer, pfl);
pfl->sector_len = sector_len;
- pfl->total_len = total_len;
pfl->width = width;
pfl->wcycle = 0;
pfl->cmd = 0;
--
1.7.0.4
- [Qemu-devel] [PATCH v2 0/6] QOMify pflash_cfi0x + PL353 for Xilinx Zynq, Peter Crosthwaite, 2012/10/22
- [Qemu-devel] [PATCH v2 1/6] pflash_cfi0x: remove unused base field, Peter Crosthwaite, 2012/10/22
- [Qemu-devel] [PATCH v2 2/6] pflash_cfi01: remove unused total_len field,
Peter Crosthwaite <=
- [Qemu-devel] [PATCH v2 3/6] pflash_cfi0x: QOMified, Peter Crosthwaite, 2012/10/22
- [Qemu-devel] [PATCH v2 4/6] hw: Model of Primecell pl35x mem controller, Peter Crosthwaite, 2012/10/22
- [Qemu-devel] [PATCH v2 5/6] xilinx_zynq: add pl353, Peter Crosthwaite, 2012/10/22
- [Qemu-devel] [PATCH v2 6/6] pflash_cfi01: Fix debug mode printfery, Peter Crosthwaite, 2012/10/22