[<prev] [next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1105082031320.7013@artax.karlin.mff.cuni.cz>
Date: Sun, 8 May 2011 20:44:46 +0200 (CEST)
From: Mikulas Patocka <mikulas@...ax.karlin.mff.cuni.cz>
To: Linus Torvalds <torvalds@...ux-foundation.org>
cc: linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: [PATCH 14/14] HPFS: Remove unused variable
Remove unused variable
Signed-off-by: Mikulas Patocka <mikulas@...ax.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:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists