grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 4/5] fs/ufs.c: remove unused sblock from grub_ufs_dir()


From: Colin King
Subject: [PATCH 4/5] fs/ufs.c: remove unused sblock from grub_ufs_dir()
Date: Tue, 27 Nov 2012 12:05:53 +0000

From: Colin Ian King <address@hidden>

Removed unused variable sblock from grub_ufs_dir()

Signed-off-by: Colin Ian King <address@hidden>
---
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]