]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit73702420bc4d785ebc9b971315710419954caf22
tree5912076bbad871a2c160048f916215b75dbb3dce
parent2a15e86c9bca3dfd3ca89e25d1008f62dc203f3e
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