Remove unused variables from fs/proc/base.c
commit457c25107b83bc6456b3a18a25511418dc25da69
authorPavel Emelyanov <xemul@openvz.org>
Fri, 19 Oct 2007 06:40:43 +0000 (18 23:40 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 18:53:43 +0000 (19 11:53 -0700)
tree608586f887981c72d5bdf2ca1c390dbd624b4456
parent19c5870c0eefd27c6d09d867465e0571262e05d0
Remove unused variables from fs/proc/base.c

When removing the explicit task_struct->pid usage I found that
proc_readfd_common() and proc_pident_readdir() get this field, but do not
use it at all.  So this cleanup is a cheap help with the task_struct->pid
isolation.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/base.c