Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -485,7 +485,7 @@ const struct file_operations sysfs_file_operations = {
	.poll		= sysfs_poll,
	.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)
			 const void **pns)
{
{
	struct sysfs_dirent *dir_sd = kobj->sd;
	struct sysfs_dirent *dir_sd = kobj->sd;