ext4: remove unused variable in ext4_get_parent
authorChristoph Hellwig <hch@lst.de>
Thu, 23 Oct 2008 18:33:29 +0000 (20:33 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 23 Oct 2008 19:03:23 +0000 (12:03 -0700)
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>
fs/ext4/namei.c

index 5b93a7d94d4256132fcb7a9ed13ec8c6213510c2..63adcb792988016d642a6e341bcbca2f694b68d1 100644 (file)
@@ -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 = "..",