]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf95301db175c96038a63a041e67bd44b851b3d6d
tree55fac0c42a918e8cf697b89b359d96a22db9b3c8
parentbd3cec958a84b998f0260ec9302c009d8c06cdcb
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