sysfs: Kill unused sysfs_sb variable.

Now that there are no more users we can remove
the sysfs_sb variable.

Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by Eric W. Biederman and committed by Greg Kroah-Hartman 0f4288ec fac2622b

-3
-2
fs/sysfs/mount.c
··· 23 24 25 static struct vfsmount *sysfs_mount; 26 - struct super_block * sysfs_sb = NULL; 27 struct kmem_cache *sysfs_dir_cachep; 28 29 static const struct super_operations sysfs_ops = { ··· 49 sb->s_magic = SYSFS_MAGIC; 50 sb->s_op = &sysfs_ops; 51 sb->s_time_gran = 1; 52 - sysfs_sb = sb; 53 54 /* get root inode, initialize and unlock it */ 55 mutex_lock(&sysfs_mutex);
··· 23 24 25 static struct vfsmount *sysfs_mount; 26 struct kmem_cache *sysfs_dir_cachep; 27 28 static const struct super_operations sysfs_ops = { ··· 50 sb->s_magic = SYSFS_MAGIC; 51 sb->s_op = &sysfs_ops; 52 sb->s_time_gran = 1; 53 54 /* get root inode, initialize and unlock it */ 55 mutex_lock(&sysfs_mutex);
-1
fs/sysfs/sysfs.h
··· 115 * mount.c 116 */ 117 extern struct sysfs_dirent sysfs_root; 118 - extern struct super_block *sysfs_sb; 119 extern struct kmem_cache *sysfs_dir_cachep; 120 121 /*
··· 115 * mount.c 116 */ 117 extern struct sysfs_dirent sysfs_root; 118 extern struct kmem_cache *sysfs_dir_cachep; 119 120 /*