aboutsummaryrefslogtreecommitdiffstats
path: root/fs/sysfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/sysfs')
-rw-r--r--fs/sysfs/mount.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c
index db0b1f2138af..50e4fb6a7403 100644
--- a/fs/sysfs/mount.c
+++ b/fs/sysfs/mount.c
@@ -104,7 +104,6 @@ static int sysfs_get_sb(struct file_system_type *fs_type,
104 if (IS_ERR(sb) || sb->s_fs_info != info) 104 if (IS_ERR(sb) || sb->s_fs_info != info)
105 kfree(info); 105 kfree(info);
106 if (IS_ERR(sb)) { 106 if (IS_ERR(sb)) {
107 kfree(info);
108 error = PTR_ERR(sb); 107 error = PTR_ERR(sb);
109 goto out; 108 goto out;
110 } 109 }