Messages in this thread Patch in this message | | | Date | Sun, 8 May 2011 20:44:46 +0200 (CEST) | From | Mikulas Patocka <> | Subject | [PATCH 14/14] HPFS: Remove unused variable |
| |
Remove unused variable
Signed-off-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
--- 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:
| |