debugfs: remove return value of debugfs_create_bool()
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 May 2021 18:45:19 +0000 (20:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 May 2021 18:59:03 +0000 (20:59 +0200)
commit393b06383fb77a006a29eb1574474d468e8c868b
tree5a44f2c3821b5c9b42788ad212ecee0a0613ad91
parent1be4ec2456a7d110092ad8cc918eef75b878ec4e
debugfs: remove return value of debugfs_create_bool()

No one checks the return value of debugfs_create_bool(), as it's not
needed, so make the return value void, so that no one tries to do so in
the future.

Link: https://lore.kernel.org/r/20210521184519.1356639-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/filesystems/debugfs.rst
fs/debugfs/file.c
include/linux/debugfs.h