]> git.baikalelectronics.ru Git - kernel.git/commit
lib: notifier-error-inject: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Jun 2019 15:36:13 +0000 (17:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Jul 2019 14:57:18 +0000 (16:57 +0200)
commit15bfe9ad6ae2a322666ef0e9e584afd46b05b4e8
tree98309012108d2144810fd8a188659c95f21bd607
parentcd9ab45c122f4828051367698b80801653b27fd7
lib: notifier-error-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: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20190612153613.GA21239@kroah.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
lib/notifier-error-inject.c