vfs: show_vfsstat: remove redundant initialization and check of error code
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 18 Nov 2015 21:58:32 +0000 (00:58 +0300)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 7 Dec 2015 02:17:16 +0000 (21:17 -0500)
commitb896fb35ca904fe5b7765fcd81a45f09a62e8d03
treee9195ac2f2cbb8344617ce717190495e0675650a
parent6ce4bca0adfde9ee404ce659d110f2bdeff9c13b
vfs: show_vfsstat: remove redundant initialization and check of error code

As err variable is now always checked right after each assignment, its
initialization is redundant and could be safely removed.  For the same
reason, the last check of err is also redundant and could be removed as
well.

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