]> git.baikalelectronics.ru Git - kernel.git/commit
lib: 842: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Jun 2019 15:34:40 +0000 (17:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Jul 2019 14:57:17 +0000 (16:57 +0200)
commit69a6e84fd7e3f7849d67ec6bf4284ed66d9c6055
treeebae1fd45c933edd838cebf9e1d4e9097fee7357
parent7a396347470735b3e3cd96dbc6631edf18fcecba
lib: 842: 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: Haren Myneni <haren@us.ibm.com>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20190612153440.GA21006@kroah.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
lib/842/842_debugfs.h