f2fs: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Jan 2019 13:26:18 +0000 (14:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 13:25:25 +0000 (14:25 +0100)
commit21acc07d33a968a74111a98c8221069dcabf5d95
treea77afd5d488422dea927fc23dc24ea44a62fcbd1
parent0eeb27311f3a06b39ed51027260fb46c8b04357c
f2fs: no need to check return value of debugfs_create functions

When calling debugfs functions, there is no need to ever check the
return value.  The function can work or not, but the code logic should
never do something different based on this.

Cc: Jaegeuk Kim <jaegeuk@kernel.org>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Cc: linux-f2fs-devel@lists.sourceforge.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/f2fs/debug.c
fs/f2fs/f2fs.h
fs/f2fs/super.c