summaryrefslogtreecommitdiffstats
path: root/fs/sysfs/mount.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2010-02-12 19:22:28 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-07 17:04:52 -0800
commit0f4288ec6fcc1a47d1fa0241ec1c6dacd5a09e96 (patch)
tree7112809d470a7e6dc55cd68054896beef24bc184 /fs/sysfs/mount.c
parentfac2622bbad4d7e3a32c53e631e018b80ec631dc (diff)
downloadlinux-stable-0f4288ec6fcc1a47d1fa0241ec1c6dacd5a09e96.tar.gz
linux-stable-0f4288ec6fcc1a47d1fa0241ec1c6dacd5a09e96.tar.bz2
linux-stable-0f4288ec6fcc1a47d1fa0241ec1c6dacd5a09e96.zip
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>
Diffstat (limited to 'fs/sysfs/mount.c')
-rw-r--r--fs/sysfs/mount.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c
index 89db07e489b0..0cb10884a2fc 100644
--- a/fs/sysfs/mount.c
+++ b/fs/sysfs/mount.c
@@ -23,7 +23,6 @@
static struct vfsmount *sysfs_mount;
-struct super_block * sysfs_sb = NULL;
struct kmem_cache *sysfs_dir_cachep;
static const struct super_operations sysfs_ops = {
@@ -50,7 +49,6 @@ static int sysfs_fill_super(struct super_block *sb, void *data, int silent)
sb->s_magic = SYSFS_MAGIC;
sb->s_op = &sysfs_ops;
sb->s_time_gran = 1;
- sysfs_sb = sb;
/* get root inode, initialize and unlock it */
mutex_lock(&sysfs_mutex);