projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce787a5
)
net: Remove meaningless jump label out_fs
author
Miaohe Lin
<linmiaohe@huawei.com>
Thu, 6 Aug 2020 11:54:19 +0000
(19:54 +0800)
committer
David 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
patch
|
blob
|
history
diff --git
a/net/socket.c
b/net/socket.c
index
e08415b
..
c61f036
100644
(file)
--- 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;
}