From 3a8ca1b6bf7069338e266082479f2f632c29afb3 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Wed, 26 Sep 2012 21:33:07 -0400 Subject: hypfs: ->d_parent is never NULL or negative Signed-off-by: Al Viro --- arch/s390/hypfs/inode.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'arch/s390/hypfs') diff --git a/arch/s390/hypfs/inode.c b/arch/s390/hypfs/inode.c index 6767b437a103..a0d92d119f4b 100644 --- a/arch/s390/hypfs/inode.c +++ b/arch/s390/hypfs/inode.c @@ -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)) -- cgit v1.2.3-58-ga151