2008-10-23 18:33:36

by Christoph Hellwig

[permalink] [raw]
Subject: [PATCH] ext4: remove unused variable in ext4_get_parent


Signed-off-by: Christoph Hellwig <[email protected]>

Index: linux-2.6/fs/ext4/namei.c
===================================================================
--- linux-2.6.orig/fs/ext4/namei.c 2008-10-23 20:32:28.000000000 +0200
+++ linux-2.6/fs/ext4/namei.c 2008-10-23 20:32:47.000000000 +0200
@@ -1061,7 +1061,6 @@ static struct dentry *ext4_lookup(struct
struct dentry *ext4_get_parent(struct dentry *child)
{
unsigned long ino;
- struct dentry *parent;
struct inode *inode;
static const struct qstr dotdot = {
.name = "..",