diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c index 5b93a7d94d4256132fcb7a9ed13ec8c6213510c2..63adcb792988016d642a6e341bcbca2f694b68d1 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 = "..",