[PATCH] proc: Remove unnecessary and misleading assignments from proc_pid_make_inode
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 26 Jun 2006 07:25:42 +0000 (00:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:23 +0000 (09:58 -0700)
commit167965495153ba9829d0a34b6800dbf5d94de8c8
treeee923581fc2fb1a9bcae7920a8a362fed7b55705
parentff9724a3f7a69f7b443c05981f84e28017c2fc5a
[PATCH] proc: Remove unnecessary and misleading assignments from proc_pid_make_inode

The removed fields are already set by proc_alloc_inode.  Initializing them in
proc_alloc_inode implies they need it for proper cleanup.  At least ei->pde
was not set on all paths making it look like proc_alloc_inode was buggy.  So
just remove the redundant assignments.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/proc/base.c