arm64: dump: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 14:41:11 +0000 (15:41 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 31 Jan 2019 17:38:19 +0000 (17:38 +0000)
commite2a2e56e40822ab78e304198387f61314af7d7ce
tree6c10ff351db17ab0879dd9da7becd02512ae97f8
parent0bd3ef34d2a8dd4056560567073d8bfc5da92e39
arm64: dump: 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: Will Deacon <will.deacon@arm.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Peng Donglin <dolinux.peng@gmail.com>
Cc: <linux-arm-kernel@lists.infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/ptdump.h
arch/arm64/mm/dump.c
arch/arm64/mm/ptdump_debugfs.c