]> git.baikalelectronics.ru Git - kernel.git/commit
x86: platform: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 14:35:41 +0000 (15:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2019 14:18:12 +0000 (16:18 +0200)
commit7034dd22400d5f32c17467b47203102beff01e9c
tree0fce2daafc2917e12aa1f116f69516ccd390adb4
parent117f922c1af40399936c93611f466c13e4263ab3
x86: platform: 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: Ingo Molnar <mingo@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: <x86@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/platform/atom/punit_atom_debug.c
arch/x86/platform/intel-quark/imr.c
arch/x86/platform/intel/iosf_mbi.c
arch/x86/platform/uv/tlb_uv.c