vfs: show_mountinfo: cleanup error code checks
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 18 Nov 2015 21:58:20 +0000 (00:58 +0300)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 7 Dec 2015 02:17:15 +0000 (21:17 -0500)
commit6ce4bca0adfde9ee404ce659d110f2bdeff9c13b
tree0e902fda2f9d1f4c5bf6715fd9d690cdc749ca78
parent5d9f3c7b620f6d1d9555223817bdfddfbd4b93a0
vfs: show_mountinfo: cleanup error code checks

Check err variable right after each assignment.  This change makes
initialization of err redundant, so remove the initialization.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/proc_namespace.c