[Top][All Lists]
[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
- [PATCH 0/5] Remove a handful of unused variables, Colin King, 2012/11/27
- [PATCH 5/5] disk/lvm.c: remove da_offset, da_size from grub_lvm_scan_device(), Colin King, 2012/11/27
- [PATCH 4/5] fs/ufs.c: remove unused sblock from grub_ufs_dir(),
Colin King <=
- [PATCH 2/5] fs/minix.c: remove unused grub_minix_sblock from grub_minix_dir(), Colin King, 2012/11/27
- [PATCH 1/5] fs/jfs.c: remove unused pos from grub_jfs_read_file(), Colin King, 2012/11/27
- [PATCH 3/5] fs/sfs.c: remove unused prev from grub_sfs_read_extent(), Colin King, 2012/11/27
- Re: [PATCH 0/5] Remove a handful of unused variables, Vladimir 'φ-coder/phcoder' Serbinenko, 2012/11/28