[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/5] fs/jfs.c: remove unused pos from grub_jfs_read_file()
From: |
Colin King |
Subject: |
[PATCH 1/5] fs/jfs.c: remove unused pos from grub_jfs_read_file() |
Date: |
Tue, 27 Nov 2012 12:05:50 +0000 |
From: Colin Ian King <address@hidden>
Remove the unused pos variable from grub_jfs_read_file().
Signed-off-by: Colin Ian King <address@hidden>
---
fs/jfs.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/fs/jfs.c b/fs/jfs.c
index b73f9bd..88668a3 100644
--- a/fs/jfs.c
+++ b/fs/jfs.c
@@ -600,7 +600,6 @@ grub_jfs_find_file (struct grub_jfs_data *data, const char
*path)
char fpath[grub_strlen (path)];
char *name = fpath;
char *next;
- unsigned int pos = 0;
struct grub_jfs_diropen *diro;
grub_strncpy (fpath, path, grub_strlen (path) + 1);
@@ -663,8 +662,6 @@ grub_jfs_find_file (struct grub_jfs_data *data, const char
*path)
if (!next)
return 0;
- pos = 0;
-
name = next;
next = grub_strchr (name, '/');
if (next)
--
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, 2012/11/27
- [PATCH 1/5] fs/jfs.c: remove unused pos from grub_jfs_read_file(),
Colin King <=
- [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