From patchwork Fri Oct 19 06:40:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Crosthwaite X-Patchwork-Id: 192571 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 04CB52C0093 for ; Fri, 19 Oct 2012 17:41:20 +1100 (EST) Received: from localhost ([::1]:56552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TP6Gh-00031O-IK for incoming@patchwork.ozlabs.org; Fri, 19 Oct 2012 02:41:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TP6GO-0002n1-Cz for qemu-devel@nongnu.org; Fri, 19 Oct 2012 02:40:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TP6GN-0003sz-23 for qemu-devel@nongnu.org; Fri, 19 Oct 2012 02:40:56 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:34089) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TP6GM-0003iM-SF for qemu-devel@nongnu.org; Fri, 19 Oct 2012 02:40:54 -0400 Received: by mail-pb0-f45.google.com with SMTP id rp2so204353pbb.4 for ; Thu, 18 Oct 2012 23:40:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:in-reply-to:references:x-gm-message-state; bh=tcNdoP7xlxgPnEHHm27bq2VqUyetTiNrMGvGRE6G/SQ=; b=Fsoj4kHf527GNSgDt0phGdpMpCmLymEo4glxvCnhK9k3KJFZidVE0idLWZtz+OZURN 3HFnaaY8m1MxGgEEmQ+Wh4sh0tz4qDMdGweo0VEe/acSkJN++6t144irDkawLgnXgi80 XrOcLszj0Wz1bMRxpUXZwizTikOd49Yn0iHNDbIVI/wmphRndKnBPuITm5AgNyx6MWNM lBzPD3zRp5ns7GMDqBwboZvHQYR2JTtlajP3ILIa9DK6xDJ/vhEmHB9zNtQ2ZWQ9T7lk P6q8pMwoeu0MR/hrTvmaUu396w7bC8yKmhXH+2pVssRLl1I6vm3FHNxA6Yuahth8xQHh cKMg== Received: by 10.66.90.65 with SMTP id bu1mr1046341pab.31.1350628854408; Thu, 18 Oct 2012 23:40:54 -0700 (PDT) Received: from localhost ([124.148.20.9]) by mx.google.com with ESMTPS id d2sm605025paw.19.2012.10.18.23.40.51 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 18 Oct 2012 23:40:53 -0700 (PDT) From: Peter Crosthwaite To: qemu-devel@nongnu.org, edgar.iglesias@gmail.com, peter.maydell@linaro.org Date: Fri, 19 Oct 2012 16:40:26 +1000 Message-Id: X-Mailer: git-send-email 1.7.0.4 In-Reply-To: References: In-Reply-To: References: X-Gm-Message-State: ALoCoQlGr2Es9RAH+3y6qtRv/Ox9jeePfTBm+vVjshErUYSBn7WXpkQyDNsK17lq8KBETs+2ghNY X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.45 Cc: Peter Crosthwaite , john.williams@xilinx.com Subject: [Qemu-devel] [PATCH v1 2/7] pflash_cfi01: remove unused total_len field X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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;