HPFS: Remove unused variable

Remove unused variable

Signed-off-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Mikulas Patocka 2011-05-08 20:44:46 +02:00 committed by Linus Torvalds
parent c351481744
commit 88f4e9e870
1 changed files with 0 additions and 4 deletions

View File

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