Skip to content

Commit b265c5a

Browse files
matttbekuba-moo
authored andcommitted
selftests: mptcp: connect: remove unused variable
'cin_disconnect' is used in run_tests_disconnect(), but not 'cout_disconnect', so it is safe to drop it. Reviewed-by: Geliang Tang <[email protected]> Signed-off-by: Matthieu Baerts (NGI0) <[email protected]> Link: https://patch.msgid.link/20250114-net-next-mptcp-st-more-debug-err-v1-5-2ffb16a6cf35@kernel.org Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 5fbea88 commit b265c5a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/testing/selftests/net/mptcp/mptcp_connect.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ TEST_GROUP=""
137137
#shellcheck disable=SC2317
138138
cleanup()
139139
{
140-
rm -f "$cin_disconnect" "$cout_disconnect"
140+
rm -f "$cin_disconnect"
141141
rm -f "$cin" "$cout"
142142
rm -f "$sin" "$sout"
143143
rm -f "$capout"
@@ -155,7 +155,6 @@ cin=$(mktemp)
155155
cout=$(mktemp)
156156
capout=$(mktemp)
157157
cin_disconnect="$cin".disconnect
158-
cout_disconnect="$cout".disconnect
159158
trap cleanup EXIT
160159

161160
mptcp_lib_ns_init ns1 ns2 ns3 ns4

0 commit comments

Comments
 (0)