[PATCH 14/14] HPFS: Remove unused variable

From: Mikulas Patocka
Date: Sun May 08 2011 - 14:55:53 EST


Remove unused variable

Signed-off-by: Mikulas Patocka <mikulas@xxxxxxxxxxxxxxxxxxxxxxxx>

---
fs/hpfs/namei.c | 4 ----
1 file changed, 4 deletions(-)

Index: linux-2.6.39-rc5-fast/fs/hpfs/namei.c
===================================================================
--- linux-2.6.39-rc5-fast.orig/fs/hpfs/namei.c 2011-05-05 01:02:58.000000000 +0200
+++ linux-2.6.39-rc5-fast/fs/hpfs/namei.c 2011-05-05 01:03:03.000000000 +0200
@@ -361,7 +361,6 @@ static int hpfs_unlink(struct inode *dir
struct hpfs_dirent *de;
struct inode *inode = dentry->d_inode;
dnode_secno dno;
- fnode_secno fno;
int r;
int rep = 0;
int err;
@@ -382,7 +381,6 @@ again:
if (de->directory)
goto out1;

- fno = le32_to_cpu(de->fnode);
r = hpfs_remove_dirent(dir, dno, de, &qbh, 1);
switch (r) {
case 1:
@@ -440,7 +438,6 @@ static int hpfs_rmdir(struct inode *dir,
struct hpfs_dirent *de;
struct inode *inode = dentry->d_inode;
dnode_secno dno;
- fnode_secno fno;
int n_items = 0;
int err;
int r;
@@ -465,7 +462,6 @@ static int hpfs_rmdir(struct inode *dir,
if (n_items)
goto out1;

- fno = le32_to_cpu(de->fnode);
r = hpfs_remove_dirent(dir, dno, de, &qbh, 1);
switch (r) {
case 1:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/