Received: from list by lists.gnu.org with archive (Exim 4.71) id 1TdJvY-0004Ec-El for mharc-grub-devel@gnu.org; Tue, 27 Nov 2012 07:06:12 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdJvQ-00040l-Sa for grub-devel@gnu.org; Tue, 27 Nov 2012 07:06:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdJvJ-0005rZ-36 for grub-devel@gnu.org; Tue, 27 Nov 2012 07:06:04 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:53593) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdJvI-0005rF-Sx for grub-devel@gnu.org; Tue, 27 Nov 2012 07:05:56 -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-0005m3-40 for grub-devel@gnu.org; Tue, 27 Nov 2012 12:05:56 +0000 From: Colin King To: grub-devel@gnu.org Subject: [PATCH 2/5] fs/minix.c: remove unused grub_minix_sblock from grub_minix_dir() Date: Tue, 27 Nov 2012 12:05:51 +0000 Message-Id: <1354017954-17911-3-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:10 -0000 From: Colin Ian King Remove the unused grub_minix_sblock variable from grub_minix_dir() Signed-off-by: Colin Ian King --- fs/minix.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/fs/minix.c b/fs/minix.c index 08eb607..2a5f35a 100644 --- a/fs/minix.c +++ b/fs/minix.c @@ -463,7 +463,6 @@ grub_minix_dir (grub_device_t device, const char *path, const struct grub_dirhook_info *info)) { struct grub_minix_data *data = 0; - struct grub_minix_sblock *sblock; unsigned int pos = 0; data = grub_minix_mount (device->disk); @@ -474,8 +473,6 @@ grub_minix_dir (grub_device_t device, const char *path, if (grub_errno) goto fail; - sblock = &data->sblock; - grub_minix_find_file (data, path); if (grub_errno) goto fail; -- 1.8.0