Skip to content

Commit 47260ba

Browse files
MiaoheLindavem330
authored andcommitted
net: Remove meaningless jump label out_fs
The out_fs jump label has nothing to do but goto out. Signed-off-by: Miaohe Lin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent ce787a5 commit 47260ba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

net/socket.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3063,7 +3063,7 @@ static int __init sock_init(void)
30633063

30643064
err = register_filesystem(&sock_fs_type);
30653065
if (err)
3066-
goto out_fs;
3066+
goto out;
30673067
sock_mnt = kern_mount(&sock_fs_type);
30683068
if (IS_ERR(sock_mnt)) {
30693069
err = PTR_ERR(sock_mnt);
@@ -3086,7 +3086,6 @@ static int __init sock_init(void)
30863086

30873087
out_mount:
30883088
unregister_filesystem(&sock_fs_type);
3089-
out_fs:
30903089
goto out;
30913090
}
30923091

0 commit comments

Comments
 (0)