lkml.org 
[lkml]   [2011]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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:

\
 
 \ /
  Last update: 2011-05-08 20:57    [W:0.031 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site