From: Josh Triplett Date: Mon, 19 Nov 2012 05:27:50 +0000 (-0800) Subject: sysfs: Mark sysfs_attr_ns static X-Git-Tag: firefly_0821_release~3680^2~1521^2~78 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1f20dfdaedcec4298a0a71fd396ec4828b332483;p=firefly-linux-kernel-4.4.55.git sysfs: Mark sysfs_attr_ns static Nothing outside of fs/sysfs/file.c references this function, so mark it static. Signed-off-by: Josh Triplett Signed-off-by: Greg Kroah-Hartman --- diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c index 00012e31829d..602f56db0442 100644 --- a/fs/sysfs/file.c +++ b/fs/sysfs/file.c @@ -485,8 +485,8 @@ const struct file_operations sysfs_file_operations = { .poll = sysfs_poll, }; -int sysfs_attr_ns(struct kobject *kobj, const struct attribute *attr, - const void **pns) +static int sysfs_attr_ns(struct kobject *kobj, const struct attribute *attr, + const void **pns) { struct sysfs_dirent *dir_sd = kobj->sd; const struct sysfs_ops *ops;