projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfe6b7d
)
proc: remove write-only variable in proc_pident_lookup()
author
WANG Cong
<wangcong@zeuux.org>
Tue, 30 Dec 2008 16:10:35 +0000
(19:10 +0300)
committer
Alexey Dobriyan
<adobriyan@gmail.com>
Mon, 5 Jan 2009 09:27:45 +0000
(12:27 +0300)
Signed-off-by: WANG Cong <wangcong@zeuux.org>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
fs/proc/base.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/proc/base.c
b/fs/proc/base.c
index a9ccc1252731d8480f6b0bf416c53cb4813eb857..0bc9ca03b91e60ce38ecea56e964a957882c9027 100644
(file)
--- a/
fs/proc/base.c
+++ b/
fs/proc/base.c
@@
-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;