OSDN Git Service

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)
commit2b07021a940ce1cdec736ec0cacad6af77717afc
tree047316eb0dd080eefe2c7cad156ecf284683b51c
parent739604734bd8e4ad71a6a902473109b2d2904890
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