Skip to content

Commit

Permalink
net: Remove meaningless jump label out_fs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Miaohe Lin authored and David S. Miller committed Aug 8, 2020
1 parent ce787a5 commit 47260ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions net/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -3086,7 +3086,6 @@ static int __init sock_init(void)

out_mount:
unregister_filesystem(&sock_fs_type);
out_fs:
goto out;
}

Expand Down

0 comments on commit 47260ba

Please sign in to comment.