]> git.dujemihanovic.xyz Git - linux.git/commitdiff
selftests: mptcp: sockopt: drop mptcp_connect var
authorGeliang Tang <geliang.tang@suse.com>
Wed, 25 Oct 2023 23:37:10 +0000 (16:37 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 27 Oct 2023 15:47:30 +0000 (08:47 -0700)
Global var mptcp_connect defined at the front of mptcp_sockopt.sh is
duplicate with local var mptcp_connect defined in do_transfer(), drop
this useless global one.

Reviewed-by: Matthieu Baerts <matttbe@kernel.org>
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <martineau@kernel.org>
Link: https://lore.kernel.org/r/20231025-send-net-next-20231025-v1-9-db8f25f798eb@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_sockopt.sh

index 8c8694f21e7dfeffbd5f6b3081832fe9aa7a92b4..a817af6616ec9602ba0bf4a3e4189318a5810b8c 100755 (executable)
@@ -11,7 +11,6 @@ cout=""
 ksft_skip=4
 timeout_poll=30
 timeout_test=$((timeout_poll * 2 + 1))
-mptcp_connect=""
 iptables="iptables"
 ip6tables="ip6tables"