summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/namei.c
diff options
context:
space:
mode:
authorMikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>2011-05-08 20:44:46 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-09 18:04:24 +0200
commit88f4e9e870c01452e57a6943c04c8d62f6a0a7a6 (patch)
tree1f030c5d6b0e3ae9382ba7a81548d70f6022e68f /fs/hpfs/namei.c
parentHPFS: Move declaration up, so that there are no out-of-scope pointers (diff)
downloadlinux-88f4e9e870c01452e57a6943c04c8d62f6a0a7a6.tar.xz
linux-88f4e9e870c01452e57a6943c04c8d62f6a0a7a6.zip
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>
Diffstat (limited to '')
-rw-r--r--fs/hpfs/namei.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/hpfs/namei.c b/fs/hpfs/namei.c
index 5a8de6a28e61..1f05839c27a7 100644
--- a/fs/hpfs/namei.c
+++ b/fs/hpfs/namei.c
@@ -361,7 +361,6 @@ static int hpfs_unlink(struct inode *dir, struct dentry *dentry)
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 dentry *dentry)
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, struct dentry *dentry)
if (n_items)
goto out1;
- fno = le32_to_cpu(de->fnode);
r = hpfs_remove_dirent(dir, dno, de, &qbh, 1);
switch (r) {
case 1: