diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2020-08-06 19:54:19 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-08 14:23:21 -0700 |
commit | 47260ba937822cd1a57ee8b520b8789bdda5964e (patch) | |
tree | cf6246f6966fffb9831d1fb2e3e958172afd459c /net/socket.c | |
parent | ce787a5a074a86f76f5d3fd804fa78e01bfb9e89 (diff) |
net: Remove meaningless jump label out_fs
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>
Diffstat (limited to 'net/socket.c')
-rw-r--r-- | net/socket.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/socket.c b/net/socket.c index e08415b4f939..c61f036d24f5 100644 --- a/net/socket.c +++ b/net/socket.c @@ -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; } |