OSDN Git Service

hwpoison-inject: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 15:21:10 +0000 (16:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2019 13:39:40 +0000 (15:39 +0200)
commit2fcc6e202a9d45f1556365ee4f4de973e1c834ec
tree55fac0c42a918e8cf697b89b359d96a22db9b3c8
parent282401df902465186ff6ed5a7ba4894c589553f2
hwpoison-inject: 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: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: linux-mm@kvack.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
mm/hwpoison-inject.c