Skip to content

Commit baa97cb

Browse files
htejungregkh
authored andcommitted
sysfs: remove unused sysfs_get_dentry() prototype
sysfs_get_dentry() has been gone for years now. Remove the left-over prototype. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 672f76a commit baa97cb

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎fs/sysfs/sysfs.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ extern const struct dentry_operations sysfs_dentry_ops;
165165
extern const struct file_operations sysfs_dir_operations;
166166
extern const struct inode_operations sysfs_dir_inode_operations;
167167

168-
struct dentry *sysfs_get_dentry(struct sysfs_dirent *sd);
169168
struct sysfs_dirent *sysfs_get_active(struct sysfs_dirent *sd);
170169
void sysfs_put_active(struct sysfs_dirent *sd);
171170
void sysfs_addrm_start(struct sysfs_addrm_cxt *acxt);

0 commit comments

Comments
 (0)