* [PATCH 4/5] net: Remove meaningless jump label out_fs
@ 2020-08-06 11:54 linmiaohe
2020-08-08 21:23 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: linmiaohe @ 2020-08-06 11:54 UTC (permalink / raw)
To: davem, kuba; +Cc: netdev, linux-kernel, linmiaohe
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>
---
net/socket.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
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;
}
--
2.19.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 4/5] net: Remove meaningless jump label out_fs
2020-08-06 11:54 [PATCH 4/5] net: Remove meaningless jump label out_fs linmiaohe
@ 2020-08-08 21:23 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2020-08-08 21:23 UTC (permalink / raw)
To: linmiaohe; +Cc: kuba, netdev, linux-kernel
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-08 21:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-06 11:54 [PATCH 4/5] net: Remove meaningless jump label out_fs linmiaohe
2020-08-08 21:23 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).