Commit 0a40e273 authored by Matthieu Baerts's avatar Matthieu Baerts Committed by Jakub Kicinski

selftests: mptcp: join: remove unused vars

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: default avatarMatthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: default avatarMat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 22514d52
...@@ -42,7 +42,7 @@ init() ...@@ -42,7 +42,7 @@ init()
{ {
capout=$(mktemp) capout=$(mktemp)
rndh=$(printf %x $sec)-$(mktemp -u XXXXXX) rndh=$(mktemp -u XXXXXX)
ns1="ns1-$rndh" ns1="ns1-$rndh"
ns2="ns2-$rndh" ns2="ns2-$rndh"
...@@ -665,8 +665,6 @@ run_tests() ...@@ -665,8 +665,6 @@ run_tests()
addr_nr_ns2="${6:-0}" addr_nr_ns2="${6:-0}"
speed="${7:-fast}" speed="${7:-fast}"
sflags="${8:-""}" sflags="${8:-""}"
lret=0
oldin=""
# create the input file for the failure test when # create the input file for the failure test when
# the first failure test run # the first failure test run
...@@ -694,7 +692,6 @@ run_tests() ...@@ -694,7 +692,6 @@ run_tests()
do_transfer ${listener_ns} ${connector_ns} MPTCP MPTCP ${connect_addr} \ do_transfer ${listener_ns} ${connector_ns} MPTCP MPTCP ${connect_addr} \
${test_linkfail} ${addr_nr_ns1} ${addr_nr_ns2} ${speed} ${sflags} ${test_linkfail} ${addr_nr_ns1} ${addr_nr_ns2} ${speed} ${sflags}
lret=$?
} }
dump_stats() dump_stats()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment