microblaze: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Jan 2019 16:45:58 +0000 (17:45 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 14 Jan 2019 09:22:16 +0000 (10:22 +0100)
commit226a893bbb1f4495d7139fd57143475ada0de61d
treeaad12289ca6fe1af678af8b7ac170579c5e3895b
parentbfeffd155283772bbe78c6a05dec7c0128ee500c
microblaze: 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: Michal Simek <monstr@monstr.eu>
Cc: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/kernel/setup.c