Received: from list by lists.gnu.org with archive (Exim 4.71) id 1TdJvW-0004AA-U3 for mharc-grub-devel@gnu.org; Tue, 27 Nov 2012 07:06:10 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35587) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdJvP-00040h-Ir 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-0005rs-I8 for grub-devel@gnu.org; Tue, 27 Nov 2012 07:06:03 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:53595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdJvJ-0005rj-CC 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-0005m9-Vt for grub-devel@gnu.org; Tue, 27 Nov 2012 12:05:57 +0000 From: Colin King To: grub-devel@gnu.org Subject: [PATCH 4/5] fs/ufs.c: remove unused sblock from grub_ufs_dir() Date: Tue, 27 Nov 2012 12:05:53 +0000 Message-Id: <1354017954-17911-5-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:09 -0000 From: Colin Ian King Removed unused variable sblock from grub_ufs_dir() Signed-off-by: Colin Ian King --- fs/ufs.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/fs/ufs.c b/fs/ufs.c index c94ad99..ee7058b 100644 --- a/fs/ufs.c +++ b/fs/ufs.c @@ -568,7 +568,6 @@ grub_ufs_dir (grub_device_t device, const char *path, const struct grub_dirhook_info *info)) { struct grub_ufs_data *data; - struct grub_ufs_sblock *sblock; unsigned int pos = 0; data = grub_ufs_mount (device->disk); @@ -579,8 +578,6 @@ grub_ufs_dir (grub_device_t device, const char *path, if (grub_errno) return grub_errno; - sblock = &data->sblock; - if (!path || path[0] != '/') { grub_error (GRUB_ERR_BAD_FILENAME, "bad filename"); -- 1.8.0