[PATCH mptcp-next] Squash to "mptcp: add mptcp_userspace_pm_get_sock helper"

Geliang Tang posted 1 patch 2 months, 2 weeks ago
Failed in applying to current master (apply log)
net/mptcp/pm_userspace.c | 1 -
1 file changed, 1 deletion(-)
[PATCH mptcp-next] Squash to "mptcp: add mptcp_userspace_pm_get_sock helper"
Posted by Geliang Tang 2 months, 2 weeks ago
From: Geliang Tang <tanggeliang@kylinos.cn>

Drop useless "goto out".

Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
---
 net/mptcp/pm_userspace.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net/mptcp/pm_userspace.c b/net/mptcp/pm_userspace.c
index 79531c949cc5..a514f00ddbb6 100644
--- a/net/mptcp/pm_userspace.c
+++ b/net/mptcp/pm_userspace.c
@@ -188,7 +188,6 @@ static struct mptcp_sock *mptcp_userspace_pm_get_sock(const struct genl_info *in
 		GENL_SET_ERR_MSG(info, "invalid request; userspace PM not selected");
 		sock_put((struct sock *)msk);
 		msk = NULL;
-		goto out;
 	}
 
 out:
-- 
2.43.0