diff options
author | Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> | 2011-05-08 14:44:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-09 12:04:24 -0400 |
commit | 88f4e9e870c01452e57a6943c04c8d62f6a0a7a6 (patch) | |
tree | 1f030c5d6b0e3ae9382ba7a81548d70f6022e68f /fs | |
parent | c3514817445a5a5e6c0d0c8152f5f161a98001db (diff) |
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 'fs')
-rw-r--r-- | fs/hpfs/namei.c | 4 |
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) | |||
361 | struct hpfs_dirent *de; | 361 | struct hpfs_dirent *de; |
362 | struct inode *inode = dentry->d_inode; | 362 | struct inode *inode = dentry->d_inode; |
363 | dnode_secno dno; | 363 | dnode_secno dno; |
364 | fnode_secno fno; | ||
365 | int r; | 364 | int r; |
366 | int rep = 0; | 365 | int rep = 0; |
367 | int err; | 366 | int err; |
@@ -382,7 +381,6 @@ again: | |||
382 | if (de->directory) | 381 | if (de->directory) |
383 | goto out1; | 382 | goto out1; |
384 | 383 | ||
385 | fno = le32_to_cpu(de->fnode); | ||
386 | r = hpfs_remove_dirent(dir, dno, de, &qbh, 1); | 384 | r = hpfs_remove_dirent(dir, dno, de, &qbh, 1); |
387 | switch (r) { | 385 | switch (r) { |
388 | case 1: | 386 | case 1: |
@@ -440,7 +438,6 @@ static int hpfs_rmdir(struct inode *dir, struct dentry *dentry) | |||
440 | struct hpfs_dirent *de; | 438 | struct hpfs_dirent *de; |
441 | struct inode *inode = dentry->d_inode; | 439 | struct inode *inode = dentry->d_inode; |
442 | dnode_secno dno; | 440 | dnode_secno dno; |
443 | fnode_secno fno; | ||
444 | int n_items = 0; | 441 | int n_items = 0; |
445 | int err; | 442 | int err; |
446 | int r; | 443 | int r; |
@@ -465,7 +462,6 @@ static int hpfs_rmdir(struct inode *dir, struct dentry *dentry) | |||
465 | if (n_items) | 462 | if (n_items) |
466 | goto out1; | 463 | goto out1; |
467 | 464 | ||
468 | fno = le32_to_cpu(de->fnode); | ||
469 | r = hpfs_remove_dirent(dir, dno, de, &qbh, 1); | 465 | r = hpfs_remove_dirent(dir, dno, de, &qbh, 1); |
470 | switch (r) { | 466 | switch (r) { |
471 | case 1: | 467 | case 1: |