]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: Remove meaningless jump label out_fs
authorMiaohe Lin <linmiaohe@huawei.com>
Thu, 6 Aug 2020 11:54:19 +0000 (19:54 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 Aug 2020 21:23:21 +0000 (14:23 -0700)
The out_fs jump label has nothing to do but goto out.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c

index e08415b4f9397976af2c5c8fe6a4b3ca7a53ba44..c61f036d24f57f726df7fdbfa7fa63656328dd7b 100644 (file)
@@ -3063,7 +3063,7 @@ static int __init sock_init(void)
 
        err = register_filesystem(&sock_fs_type);
        if (err)
-               goto out_fs;
+               goto out;
        sock_mnt = kern_mount(&sock_fs_type);
        if (IS_ERR(sock_mnt)) {
                err = PTR_ERR(sock_mnt);
@@ -3086,7 +3086,6 @@ out:
 
 out_mount:
        unregister_filesystem(&sock_fs_type);
-out_fs:
        goto out;
 }