[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/5] fs/minix.c: remove unused grub_minix_sblock from grub_minix_
From: |
Colin King |
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 |
From: Colin Ian King <address@hidden>
Remove the unused grub_minix_sblock variable from grub_minix_dir()
Signed-off-by: Colin Ian King <address@hidden>
---
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
- [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, 2012/11/27
- [PATCH 2/5] fs/minix.c: remove unused grub_minix_sblock from grub_minix_dir(),
Colin King <=
- [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