1
0
Fork 0

proc: remove write-only variable in proc_pident_lookup()

Signed-off-by: WANG Cong <wangcong@zeuux.org>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
hifive-unleashed-5.1
WANG Cong 2008-12-30 19:10:35 +03:00 committed by Alexey Dobriyan
parent dfe6b7d940
commit 230e40fbda
1 changed files with 0 additions and 2 deletions

View File

@ -2001,13 +2001,11 @@ static struct dentry *proc_pident_lookup(struct inode *dir,
const struct pid_entry *ents,
unsigned int nents)
{
struct inode *inode;
struct dentry *error;
struct task_struct *task = get_proc_task(dir);
const struct pid_entry *p, *last;
error = ERR_PTR(-ENOENT);
inode = NULL;
if (!task)
goto out_no_task;