diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-22 18:21:16 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2019-01-23 12:41:18 +0300 |
commit | 912ebd99edfa1d1695083fa6d34ac878346ac66b (patch) | |
tree | d9a0fa992f59cd05baaecab645d9f9fc068a2ac0 /scripts/mkcompile_h | |
parent | 794a48cec678486b63cfe8218f0fe693711d683f (diff) | |
download | linux-912ebd99edfa1d1695083fa6d34ac878346ac66b.tar.xz |
EDAC: Do not 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.
[ bp: Make edac_debugfs_init() return void too, while at it. ]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: James Morse <james.morse@arm.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: https://lkml.kernel.org/r/20190122152151.16139-17-gregkh@linuxfoundation.org
Diffstat (limited to 'scripts/mkcompile_h')
0 files changed, 0 insertions, 0 deletions