diff options
author | Peter Crosthwaite <peter.crosthwaite@xilinx.com> | 2012-10-30 07:45:11 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-10-30 07:45:11 +0000 |
commit | be65f89992afd1366ce51db95f26b63cc90e309d (patch) | |
tree | a866936eeb0bddd42d0fbba76439b13a4d2514e2 /hw/pflash_cfi01.c | |
parent | b7dff23a487fffccd7c395da95e9b02bebe48bee (diff) |
pflash_cfi01: remove unused total_len field
This field is completely unused.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/pflash_cfi01.c')
-rw-r--r-- | 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 2e29f8a38a..b532054c53 100644 --- a/hw/pflash_cfi01.c +++ b/hw/pflash_cfi01.c @@ -62,7 +62,6 @@ do { \ struct pflash_t { BlockDriverState *bs; hwaddr sector_len; - hwaddr total_len; int width; int wcycle; /* if 0, the flash is read normally */ int bypass; @@ -594,7 +593,6 @@ pflash_t *pflash_cfi01_register(hwaddr 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; |