ext4: remove unused variable in ext4_get_parent
Changes
1 files changed · +0 −1
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| fs/ext4/namei.c | modified | +0 | −1 | View file |
fs/ext4/namei.c
View filediff --git a/fs/ext4/namei.c b/fs/ext4/namei.c
index 5b93a7d..63adcb7 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 = "..",