OSDN Git Service

debugobjects: No need to check return value of debugfs_create()
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Jun 2019 15:35:13 +0000 (17:35 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 14 Jun 2019 12:51:14 +0000 (14:51 +0200)
commitfecb0d95cdf752836cafdfffc1661f61ba4e2101
treeccb07b0f504546801a1e75196f1fc1d1cef5fa1a
parentd1fdb6d8f6a4109a4263176c84b899076a5f8008
debugobjects: No need to check return value of debugfs_create()

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: Thomas Gleixner <tglx@linutronix.de>
Cc: Qian Cai <cai@gmx.us>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Waiman Long <longman@redhat.com>
Cc: "Joel Fernandes (Google)" <joel@joelfernandes.org>
Cc: Zhong Jiang <zhongjiang@huawei.com>
Link: https://lkml.kernel.org/r/20190612153513.GA21082@kroah.com
lib/debugobjects.c