proc: cleanup: remove unused assignments
commit73d3646029138743989b6c213628484301a72eb1
authorDan Carpenter <error27@gmail.com>
Wed, 26 May 2010 21:43:25 +0000 (26 14:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 May 2010 16:12:47 +0000 (27 09:12 -0700)
tree1df20844702dbf7d8d014ae08bdb479a8350533f
parentb3ac022cb9dc5883505a88b159d1b240ad1ef405
proc: cleanup: remove unused assignments

I removed 3 unused assignments.  The first two get reset on the first
statement of their functions.  For "err" in root.c we don't return an
error and we don't use the variable again.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/base.c
fs/proc/root.c