OSDN Git Service

debugfs: remove return value of debugfs_create_file_size()
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Mar 2020 16:36:40 +0000 (17:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2020 12:35:29 +0000 (13:35 +0100)
commit526ee72dfdf74f4c14cbe165d68736f86bff6cf2
tree5912076bbad871a2c160048f916215b75dbb3dce
parent275678e7a9be6a0ea9c1bb493e48abf2f4a01be5
debugfs: remove return value of debugfs_create_file_size()

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

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