aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/proc/base.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c
index a9ccc1252731..0bc9ca03b91e 100644
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -2001,13 +2001,11 @@ static struct dentry *proc_pident_lookup(struct inode *dir,
2001 const struct pid_entry *ents, 2001 const struct pid_entry *ents,
2002 unsigned int nents) 2002 unsigned int nents)
2003{ 2003{
2004 struct inode *inode;
2005 struct dentry *error; 2004 struct dentry *error;
2006 struct task_struct *task = get_proc_task(dir); 2005 struct task_struct *task = get_proc_task(dir);
2007 const struct pid_entry *p, *last; 2006 const struct pid_entry *p, *last;
2008 2007
2009 error = ERR_PTR(-ENOENT); 2008 error = ERR_PTR(-ENOENT);
2010 inode = NULL;
2011 2009
2012 if (!task) 2010 if (!task)
2013 goto out_no_task; 2011 goto out_no_task;