hypfs: ->d_parent is never NULL or negative
[deliverable/linux.git] / arch / s390 / hypfs / inode.c
index 6767b437a103aa2eb9d46fc19df6732f188f040b..a0d92d119f4bf24717e4a5b8007b4836b64cbf1a 100644 (file)
@@ -72,8 +72,6 @@ static void hypfs_remove(struct dentry *dentry)
        struct dentry *parent;
 
        parent = dentry->d_parent;
-       if (!parent || !parent->d_inode)
-               return;
        mutex_lock(&parent->d_inode->i_mutex);
        if (hypfs_positive(dentry)) {
                if (S_ISDIR(dentry->d_inode->i_mode))
This page took 0.035897 seconds and 5 git commands to generate.