Skip to content

Commit 41484ff

Browse files
matttbeintel-lab-lkp
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. Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
1 parent c2ebfe6 commit 41484ff

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)