diff options
author | Tejun Heo <tj@kernel.org> | 2013-11-28 20:54:25 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-30 02:48:14 +0100 |
commit | 2d0cfbec2a95c16818960fda1dfa815fd1a62070 (patch) | |
tree | 8c11e1e9b99eec3c527e63f0ef1ca6af1858dab2 /fs/libfs.c | |
parent | sysfs, kernfs: introduce kernfs_create_file[_ns]() (diff) | |
download | linux-2d0cfbec2a95c16818960fda1dfa815fd1a62070.tar.xz linux-2d0cfbec2a95c16818960fda1dfa815fd1a62070.zip |
sysfs, kernfs: remove sysfs_add_one()
sysfs_add_one() is a wrapper around __sysfs_add_one() which prints out
duplicate name warning if __sysfs_add_one() fails with -EEXIST. The
previous kernfs conversions moved all dup warnings to sysfs interface
functions and sysfs_add_one() doesn't have any user left.
Remove sysfs_add_one() and update __sysfs_add_one() to take its name.
This patch doesn't make any functional changes.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/libfs.c')
0 files changed, 0 insertions, 0 deletions