summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2008-10-23 20:33:29 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-23 21:03:23 +0200
commit3856d30ded1fe43c6657927ebad402d25cd128f4 (patch)
treee2313de491919549ed9065fb2604dd3d19a33ea3
parentpcc-acpi: fix compile with new stricter ACPI types (diff)
downloadlinux-3856d30ded1fe43c6657927ebad402d25cd128f4.tar.xz
linux-3856d30ded1fe43c6657927ebad402d25cd128f4.zip
ext4: remove unused variable in ext4_get_parent
Signed-off-by: Christoph Hellwig <hch@lst.de> [ All users removed in "switch all filesystems over to d_obtain_alias", aka commit 440037287c5ebb07033ab927ca16bb68c291d309 ] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--fs/ext4/namei.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c
index 5b93a7d94d42..63adcb792988 100644
--- a/fs/ext4/namei.c
+++ b/fs/ext4/namei.c
@@ -1061,7 +1061,6 @@ static struct dentry *ext4_lookup(struct inode *dir, struct dentry *dentry, stru
struct dentry *ext4_get_parent(struct dentry *child)
{
unsigned long ino;
- struct dentry *parent;
struct inode *inode;
static const struct qstr dotdot = {
.name = "..",