Skip to content

Commit

Permalink
selftests: mptcp: join: remove unused vars
Browse files Browse the repository at this point in the history
Shellcheck found that these variables were set but never used.

Note that rndh is no longer prefixed with '0-' but it doesn't change
anything.

Signed-off-by: Matthieu Baerts <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
  • Loading branch information
matttbe authored and kuba-moo committed Feb 18, 2022
1 parent 22514d5 commit 0a40e27
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tools/testing/selftests/net/mptcp/mptcp_join.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ init()
{
capout=$(mktemp)

rndh=$(printf %x $sec)-$(mktemp -u XXXXXX)
rndh=$(mktemp -u XXXXXX)

ns1="ns1-$rndh"
ns2="ns2-$rndh"
Expand Down Expand Up @@ -665,8 +665,6 @@ run_tests()
addr_nr_ns2="${6:-0}"
speed="${7:-fast}"
sflags="${8:-""}"
lret=0
oldin=""

# create the input file for the failure test when
# the first failure test run
Expand Down Expand Up @@ -694,7 +692,6 @@ run_tests()

do_transfer ${listener_ns} ${connector_ns} MPTCP MPTCP ${connect_addr} \
${test_linkfail} ${addr_nr_ns1} ${addr_nr_ns2} ${speed} ${sflags}
lret=$?
}

dump_stats()
Expand Down

0 comments on commit 0a40e27

Please sign in to comment.