diff options
author | Tejun Heo <tj@kernel.org> | 2013-11-28 14:54:25 -0500 |
---|---|---|
committer | Pawel Osmialowski <p.osmialowsk@mcdsrvbld02.digital.local> | 2015-03-27 14:37:29 +0100 |
commit | a09bb738478e1360b12f310c6b1af92cc51c5158 (patch) | |
tree | 5790396f2fa6f7e61c779546bff4343bfd1b2008 /kernel | |
parent | 64855fedc7055d8098c1b8d7a835cbf850477601 (diff) | |
download | linux-3.10-a09bb738478e1360b12f310c6b1af92cc51c5158.tar.gz linux-3.10-a09bb738478e1360b12f310c6b1af92cc51c5158.tar.bz2 linux-3.10-a09bb738478e1360b12f310c6b1af92cc51c5158.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 'kernel')
0 files changed, 0 insertions, 0 deletions