Commit 1f20dfda authored by Josh Triplett's avatar Josh Triplett Committed by Greg Kroah-Hartman

sysfs: Mark sysfs_attr_ns static

Nothing outside of fs/sysfs/file.c references this function, so mark it static.
Signed-off-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 93058424
......@@ -485,7 +485,7 @@ const struct file_operations sysfs_file_operations = {
.poll = sysfs_poll,
};
int sysfs_attr_ns(struct kobject *kobj, const struct attribute *attr,
static int sysfs_attr_ns(struct kobject *kobj, const struct attribute *attr,
const void **pns)
{
struct sysfs_dirent *dir_sd = kobj->sd;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment