Merge branch 'sched/urgent' into sched/core
[firefly-linux-kernel-4.4.55.git] / fs / proc / root.c
index 757c069f2a65132584272d3fc1ccd22ea012d737..4258384ed22d9afa22fe579dd7c4242039e8ab8e 100644 (file)
@@ -110,7 +110,6 @@ void __init proc_root_init(void)
        if (err)
                return;
        proc_mnt = kern_mount_data(&proc_fs_type, &init_pid_ns);
-       err = PTR_ERR(proc_mnt);
        if (IS_ERR(proc_mnt)) {
                unregister_filesystem(&proc_fs_type);
                return;