From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQCID-00032D-S1 for qemu-devel@nongnu.org; Mon, 22 Oct 2012 03:19:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQCIC-0008Th-Oy for qemu-devel@nongnu.org; Mon, 22 Oct 2012 03:19:21 -0400 Received: from mail-da0-f45.google.com ([209.85.210.45]:36391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQCIC-0008T1-Ir for qemu-devel@nongnu.org; Mon, 22 Oct 2012 03:19:20 -0400 Received: by mail-da0-f45.google.com with SMTP id n15so1183435dad.4 for ; Mon, 22 Oct 2012 00:19:20 -0700 (PDT) Sender: Peter Crosthwaite From: Peter Crosthwaite Date: Mon, 22 Oct 2012 17:19:00 +1000 Message-Id: In-Reply-To: References: In-Reply-To: References: Subject: [Qemu-devel] [PATCH v2 2/6] pflash_cfi01: remove unused total_len field List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: vineshp@xilinx.com, peter.maydell@linaro.org, Peter Crosthwaite , john.williams@xilinx.com, pbonzini@redhat.com, edgar.iglesias@gmail.com This field is completely unused. Signed-off-by: Peter Crosthwaite Reviewed-by: Peter Maydell --- 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