]> git.baikalelectronics.ru Git - kernel.git/commit
debugfs: remove return value of debugfs_create_u32()
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Apr 2020 14:54:48 +0000 (16:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Apr 2020 15:08:50 +0000 (17:08 +0200)
commit29f0031837abf74e8430aad91c0e6d762bdfd7b8
tree047316eb0dd080eefe2c7cad156ecf284683b51c
parent0a2dcb0b7f048a06e2612e9bdde4db5a0a122f60
debugfs: remove return value of debugfs_create_u32()

No one checks the return value of debugfs_create_u32(), 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/20200416145448.GA1380878@kroah.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/filesystems/debugfs.rst
fs/debugfs/file.c
include/linux/debugfs.h