Received: from list by lists.gnu.org with archive (Exim 4.71) id 1TdJve-0004Vx-KT for mharc-grub-devel@gnu.org; Tue, 27 Nov 2012 07:06:18 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdJvR-00040r-Vo for grub-devel@gnu.org; Tue, 27 Nov 2012 07:06:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdJvJ-0005re-43 for grub-devel@gnu.org; Tue, 27 Nov 2012 07:06:05 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:53594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdJvI-0005rT-UT for grub-devel@gnu.org; Tue, 27 Nov 2012 07:05:57 -0500 Received: from cpc3-craw6-2-0-cust180.croy.cable.virginmedia.com ([77.100.248.181] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1TdJvI-0005m6-Hw for grub-devel@gnu.org; Tue, 27 Nov 2012 12:05:56 +0000 From: Colin King To: grub-devel@gnu.org Subject: [PATCH 3/5] fs/sfs.c: remove unused prev from grub_sfs_read_extent() Date: Tue, 27 Nov 2012 12:05:52 +0000 Message-Id: <1354017954-17911-4-git-send-email-colin.king@canonical.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1354017954-17911-1-git-send-email-colin.king@canonical.com> References: <1354017954-17911-1-git-send-email-colin.king@canonical.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 91.189.89.112 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2012 12:06:15 -0000 From: Colin Ian King Remove unused variable prev from grub_sfs_read_extent() Signed-off-by: Colin Ian King --- fs/sfs.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/fs/sfs.c b/fs/sfs.c index ec59b73..a6ff7b9 100644 --- a/fs/sfs.c +++ b/fs/sfs.c @@ -149,7 +149,6 @@ grub_sfs_read_extent (struct grub_sfs_data *data, unsigned int block, struct grub_sfs_btree *tree; int i; int next; - int prev; treeblock = grub_malloc (data->blocksize); if (!block) @@ -161,8 +160,6 @@ grub_sfs_read_extent (struct grub_sfs_data *data, unsigned int block, /* Handle this level in the btree. */ do { - prev = 0; - grub_disk_read (data->disk, next, 0, data->blocksize, treeblock); if (grub_errno) { -- 1.8.0