aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2019-06-12 15:54:18 +0000
committerGreg Kroah-Hartman <[email protected]>2019-06-18 11:40:25 +0000
commit4a14abc4bbe58aa465f0f5599bf4c612cfeb367f (patch)
tree7e53c00bc652eb52e09c0113b4cfe71037845919 /lib/fault-inject.c
parentthermal: tegra: no need to check return value of debugfs_create functions (diff)
downloadkernel-4a14abc4bbe58aa465f0f5599bf4c612cfeb367f.tar.gz
kernel-4a14abc4bbe58aa465f0f5599bf4c612cfeb367f.zip
cxl: 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. Because there's no need to check, also make the return value of the local debugfs_create_io_x64() call void, as no one ever did anything with the return value (as they did not need to.) And make the cxl_debugfs_* calls return void as no one was even checking their return value at all. Cc: [email protected] Acked-by: Andrew Donnellan <[email protected]> Reviewed-by: Frederic Barrat <[email protected]> Reviewed-by: Arnd Bergmann <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions