Message ID | 1596714859-25352-1-git-send-email-linmiaohe@huawei.com |
---|---|
State | Accepted |
Delegated to: | David Miller |
Headers | show |
Series | None | expand |
From: linmiaohe <linmiaohe@huawei.com> Date: Thu, 6 Aug 2020 19:54:19 +0800 > From: Miaohe Lin <linmiaohe@huawei.com> > > The out_fs jump label has nothing to do but goto out. > > Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Applied.
diff --git a/net/socket.c b/net/socket.c index ee9c9dac4728..e1a1195ce69e 100644 --- a/net/socket.c +++ b/net/socket.c @@ -3056,7 +3056,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); @@ -3079,7 +3079,6 @@ static int __init sock_init(void) out_mount: unregister_filesystem(&sock_fs_type); -out_fs: goto out; }