]> git.baikalelectronics.ru Git - kernel.git/commit
dlm: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Jun 2019 15:25:36 +0000 (17:25 +0200)
committerDavid Teigland <teigland@redhat.com>
Thu, 11 Jul 2019 16:01:58 +0000 (11:01 -0500)
commitb3523db8d27f5c8826fb345d2716144ff71d04ef
treee8e753e7b8b4c4b349448ba2fee4c4a17c417035
parent7cd6f672018aff1a212c3b1517d4a4b84137b2f1
dlm: 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.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/debug_fs.c
fs/dlm/dlm_internal.h
fs/dlm/main.c